Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") translateModel(IBPSA.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009884/0.0009884, allocations: 91.16 kB / 16.67 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 178.9 kB / 17.58 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7204/0.7204, allocations: 115.5 MB / 408.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003563, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4008, allocations: 77.51 MB / 0.5606 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.004463/0.4053, allocations: 3.982 MB / 0.5645 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.4081, allocations: 1.831 MB / 0.5662 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.4084, allocations: 5.656 kB / 0.5663 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.4087, allocations: 70.62 kB / 0.5663 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006503/0.4093, allocations: 250.4 kB / 0.5666 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006558/0.41, allocations: 228.1 kB / 0.5668 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009316/0.411, allocations: 0.842 MB / 0.5676 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/0.4115, allocations: 439.6 kB / 0.568 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.4118, allocations: 199.4 kB / 0.5682 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.4123, allocations: 262.3 kB / 0.5685 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.4124, allocations: 20.84 kB / 0.5685 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005952/0.413, allocations: 307.5 kB / 0.5688 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.4131, allocations: 136.1 kB / 0.5689 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.4133, allocations: 218.2 kB / 0.5691 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006764/0.414, allocations: 468.3 kB / 0.5696 GB, free: 30.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.414, allocations: 5.031 kB / 0.5696 GB, free: 30.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.414, allocations: 0 / 0.5696 GB, free: 30.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.4141, allocations: 0 / 0.5696 GB, free: 30.09 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001129/0.4152, allocations: 0.6524 MB / 0.5702 GB, free: 29.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4152, allocations: 12.69 kB / 0.5702 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.4163, allocations: 153.7 kB / 0.5704 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.4168, allocations: 326 kB / 0.5707 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.4168, allocations: 32.12 kB / 0.5707 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.4169, allocations: 30.41 kB / 0.5707 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008851/0.4178, allocations: 0.54 MB / 0.5713 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4178, allocations: 0 / 0.5713 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.4179, allocations: 17.38 kB / 0.5713 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/0.4179, allocations: 27.81 kB / 0.5713 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.4186, allocations: 387.7 kB / 0.5717 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.421, allocations: 2.422 MB / 0.574 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/0.4216, allocations: 268.1 kB / 0.5743 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.4217, allocations: 112.4 kB / 0.5744 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.4218, allocations: 3.406 kB / 0.5744 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.4218, allocations: 37.41 kB / 0.5744 GB, free: 26.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.4218, allocations: 0.8125 kB / 0.5744 GB, free: 26.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002194/0.424, allocations: 1.124 MB / 0.5755 GB, free: 25.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.424, allocations: 53.69 kB / 0.5756 GB, free: 25.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.4244, allocations: 307.8 kB / 0.5759 GB, free: 25.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.4244, allocations: 31.83 kB / 0.5759 GB, free: 25.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.4245, allocations: 231.8 kB / 0.5761 GB, free: 25.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.4246, allocations: 80.27 kB / 0.5762 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.4246, allocations: 35.28 kB / 0.5762 GB, free: 25.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.4247, allocations: 340.3 kB / 0.5766 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.4249, allocations: 99.28 kB / 0.5767 GB, free: 24.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.4251, allocations: 194.2 kB / 0.5768 GB, free: 24.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.4255, allocations: 309.9 kB / 0.5771 GB, free: 24.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4255, allocations: 0.9688 kB / 0.5771 GB, free: 24.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007401/0.4263, allocations: 443.9 kB / 0.5776 GB, free: 24.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4263, allocations: 14 kB / 0.5776 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.4263, allocations: 2.844 kB / 0.5776 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.4267, allocations: 97.95 kB / 0.5777 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.427, allocations: 70.12 kB / 0.5777 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.4294, allocations: 4.064 MB / 0.5817 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.4296, allocations: 9.172 kB / 0.5817 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.4297, allocations: 18.38 kB / 0.5817 GB, free: 20.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002331/0.4299, allocations: 184.3 kB / 0.5819 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.43, allocations: 32.47 kB / 0.5819 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.232e-05/0.4301, allocations: 43.95 kB / 0.582 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4301, allocations: 1.797 kB / 0.582 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.4301, allocations: 1.469 kB / 0.582 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4301, allocations: 6.719 kB / 0.582 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004665/0.4306, allocations: 399.6 kB / 0.5824 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4306, allocations: 5.031 kB / 0.5824 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.4308, allocations: 44.28 kB / 0.5824 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002967/0.4311, allocations: 88.91 kB / 0.5825 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4311, allocations: 5.938 kB / 0.5825 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.4333, allocations: 4.063 MB / 0.5865 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4333, allocations: 0 / 0.5865 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/0.4341, allocations: 0.5592 MB / 0.587 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.4342, allocations: 128.3 kB / 0.5872 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.4343, allocations: 5 kB / 0.5872 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.4345, allocations: 13 kB / 0.5872 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.4345, allocations: 23.28 kB / 0.5872 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.4346, allocations: 8.281 kB / 0.5872 GB, free: 15.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002103/0.4348, allocations: 208.8 kB / 0.5874 GB, free: 15.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4348, allocations: 0 / 0.5874 GB, free: 15.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005337/0.4353, allocations: 95.91 kB / 0.5875 GB, free: 15.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001242/0.4355, allocations: 108.9 kB / 0.5876 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007834/0.4362, allocations: 0.6031 MB / 0.5882 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.4363, allocations: 1.688 kB / 0.5882 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.4367, allocations: 480.2 kB / 0.5886 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.4372, allocations: 84.97 kB / 0.5887 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.4385, allocations: 0.9455 MB / 0.5896 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.4388, allocations: 0.8359 MB / 0.5905 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.4389, allocations: 25 kB / 0.5905 GB, free: 12.91 MB / 446.1 MB Notification: Performance of SimCode: time 4.6e-07/0.4389, allocations: 0 / 0.5905 GB, free: 12.91 MB / 446.1 MB Notification: Performance of Templates: time 0.01183/0.4507, allocations: 8.61 MB / 0.5989 GB, free: 9.492 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)