Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002389/0.002389, allocations: 279.3 kB / 303.6 MB, free: 3.652 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.128/1.128, allocations: 180.9 MB / 0.5268 GB, free: 2.676 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 107.8 kB / 0.7259 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5438/0.5466, allocations: 94.16 MB / 0.8178 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.004534/0.5511, allocations: 3.105 MB / 0.8209 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.5532, allocations: 1.338 MB / 0.8222 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.5533, allocations: 8.219 kB / 0.8222 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.5543, allocations: 343.4 kB / 0.8225 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.5547, allocations: 152.3 kB / 0.8227 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.5551, allocations: 134.5 kB / 0.8228 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000395/0.5555, allocations: 298.9 kB / 0.8231 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.5559, allocations: 193.5 kB / 0.8233 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.5561, allocations: 128.5 kB / 0.8234 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.5564, allocations: 147.9 kB / 0.8235 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.5564, allocations: 19.44 kB / 0.8235 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.5567, allocations: 167.8 kB / 0.8237 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.459e-05/0.5568, allocations: 79.08 kB / 0.8238 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.5569, allocations: 113 kB / 0.8239 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004584/0.5574, allocations: 341.8 kB / 0.8242 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5574, allocations: 2.625 kB / 0.8242 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.552e-06/0.5574, allocations: 0 / 0.8242 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.5574, allocations: 0 / 0.8242 GB, free: 3.48 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007326/0.5581, allocations: 0.5227 MB / 0.8247 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5582, allocations: 8.438 kB / 0.8247 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/0.5587, allocations: 82.03 kB / 0.8248 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.559, allocations: 239.2 kB / 0.825 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.559, allocations: 17.28 kB / 0.8251 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.5591, allocations: 21.36 kB / 0.8251 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.5595, allocations: 300.2 kB / 0.8254 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.5595, allocations: 0.7969 kB / 0.8254 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.5595, allocations: 10.72 kB / 0.8254 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.5596, allocations: 16.92 kB / 0.8254 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.5599, allocations: 199 kB / 0.8256 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.5611, allocations: 1.463 MB / 0.827 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.5613, allocations: 174 kB / 0.8272 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.5613, allocations: 30.95 kB / 0.8272 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.5614, allocations: 0 / 0.8272 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.5614, allocations: 41.97 kB / 0.8272 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.5614, allocations: 0 / 0.8272 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004499/0.5618, allocations: 229.4 kB / 0.8275 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.5619, allocations: 54.12 kB / 0.8275 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.562, allocations: 194.9 kB / 0.8277 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.562, allocations: 31.86 kB / 0.8277 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.5621, allocations: 169 kB / 0.8279 GB, free: 424 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.5621, allocations: 27.56 kB / 0.8279 GB, free: 404 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.5622, allocations: 37.28 kB / 0.828 GB, free: 372 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.5622, allocations: 331.1 kB / 0.8283 GB, free: 40 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.5623, allocations: 36.98 kB / 0.8283 GB, free: 28 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.5624, allocations: 97.86 kB / 0.8284 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.5626, allocations: 149.4 kB / 0.8285 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5626, allocations: 0 / 0.8285 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000308/0.5629, allocations: 188.1 kB / 0.8287 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5629, allocations: 5.406 kB / 0.8287 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5629, allocations: 2.5 kB / 0.8287 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.5631, allocations: 30.97 kB / 0.8288 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.5632, allocations: 28.14 kB / 0.8288 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.5645, allocations: 1.431 MB / 0.8302 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.5646, allocations: 17.5 kB / 0.8302 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.5647, allocations: 5.281 kB / 0.8302 GB, free: 14.25 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.5648, allocations: 152.7 kB / 0.8303 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.5648, allocations: 16.75 kB / 0.8304 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.5649, allocations: 25.09 kB / 0.8304 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.5649, allocations: 96 / 0.8304 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5649, allocations: 4.453 kB / 0.8304 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5649, allocations: 0.5156 kB / 0.8304 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.5655, allocations: 447.5 kB / 0.8308 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5655, allocations: 0.5625 kB / 0.8308 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.5655, allocations: 7.375 kB / 0.8308 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.839e-05/0.5656, allocations: 23.53 kB / 0.8308 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.5656, allocations: 4 kB / 0.8309 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.5667, allocations: 1.415 MB / 0.8322 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5667, allocations: 0.75 kB / 0.8322 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.567, allocations: 209.3 kB / 0.8324 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.713e-05/0.5671, allocations: 100.2 kB / 0.8325 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.5671, allocations: 0 / 0.8325 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.5672, allocations: 12.44 kB / 0.8325 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.5672, allocations: 8.109 kB / 0.8326 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.5672, allocations: 2.812 kB / 0.8326 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001452/0.5674, allocations: 150 kB / 0.8327 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5674, allocations: 0 / 0.8327 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003376/0.5677, allocations: 54.08 kB / 0.8327 GB, free: 11.88 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001206/0.5678, allocations: 95.62 kB / 0.8328 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004054/0.5682, allocations: 214.2 kB / 0.833 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5682, allocations: 0 / 0.833 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.5684, allocations: 144 kB / 0.8332 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.5688, allocations: 34.34 kB / 0.8332 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007231/0.5695, allocations: 396.6 kB / 0.8336 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.5699, allocations: 0.7501 MB / 0.8343 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.57, allocations: 15.84 kB / 0.8343 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.57, allocations: 4 kB / 0.8343 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.005723/0.5757, allocations: 3.004 MB / 0.8373 GB, free: 10.26 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.412409770069644] Failed to read output from testmodel.py, exit status != 0: 0.5841585851740092 0.599420195 0.038912923 Calling exit ...