Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.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.001781/0.001781, allocations: 107.2 kB / 17.12 MB, free: 6.012 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.002103/0.002103, allocations: 194.7 kB / 20.08 MB, free: 3.074 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.478/1.478, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.002405/0.002405, allocations: 284.6 kB / 303.6 MB, free: 3.801 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.056/1.056, allocations: 180.9 MB / 0.5268 GB, free: 2.703 MB / 382.1 MB " [Timeout remaining time 179] 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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002852/0.002852, allocations: 91.84 kB / 0.7259 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.548, allocations: 94.16 MB / 0.8178 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.004431/0.5525, allocations: 3.244 MB / 0.821 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.5546, allocations: 1.39 MB / 0.8224 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.5547, allocations: 3.75 kB / 0.8224 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.5557, allocations: 350.6 kB / 0.8227 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.5561, allocations: 153.1 kB / 0.8229 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.5565, allocations: 148.8 kB / 0.823 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.5569, allocations: 333.1 kB / 0.8233 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.5572, allocations: 198.8 kB / 0.8235 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.5574, allocations: 143 kB / 0.8236 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.5577, allocations: 155.9 kB / 0.8238 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.5577, allocations: 20.03 kB / 0.8238 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.558, allocations: 175.1 kB / 0.824 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.5581, allocations: 92.84 kB / 0.8241 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.5582, allocations: 119 kB / 0.8242 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.5587, allocations: 364.8 kB / 0.8245 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5587, allocations: 0 / 0.8245 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5587, allocations: 0 / 0.8245 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.5587, allocations: 0 / 0.8245 GB, free: 3.266 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008021/0.5595, allocations: 0.5372 MB / 0.825 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.5595, allocations: 13.44 kB / 0.8251 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005729/0.5601, allocations: 80.84 kB / 0.8251 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.5604, allocations: 262.1 kB / 0.8254 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.5604, allocations: 13.12 kB / 0.8254 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.5604, allocations: 23.28 kB / 0.8254 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/0.5609, allocations: 314.1 kB / 0.8257 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5609, allocations: 3.938 kB / 0.8257 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.5609, allocations: 11.67 kB / 0.8257 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.5609, allocations: 18.39 kB / 0.8258 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.5613, allocations: 208.3 kB / 0.826 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.5625, allocations: 1.493 MB / 0.8274 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.5629, allocations: 198.4 kB / 0.8276 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.504e-05/0.563, allocations: 44.91 kB / 0.8276 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.563, allocations: 2.922 kB / 0.8276 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.563, allocations: 38.5 kB / 0.8277 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.563, allocations: 2.594 kB / 0.8277 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0005193/0.5635, allocations: 252.3 kB / 0.8279 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.5635, allocations: 58.31 kB / 0.828 GB, free: 476 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.5637, allocations: 206.7 kB / 0.8282 GB, free: 336 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.5637, allocations: 29.2 kB / 0.8282 GB, free: 304 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.5638, allocations: 183.2 kB / 0.8284 GB, free: 140 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.5638, allocations: 31.58 kB / 0.8284 GB, free: 116 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.5639, allocations: 31.41 kB / 0.8284 GB, free: 92 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.564, allocations: 332.8 kB / 0.8288 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.5641, allocations: 41.5 kB / 0.8288 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.5643, allocations: 117.1 kB / 0.8289 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.5646, allocations: 166.1 kB / 0.8291 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5646, allocations: 2.719 kB / 0.8291 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003796/0.5649, allocations: 216.7 kB / 0.8293 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.565, allocations: 10.06 kB / 0.8293 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.565, allocations: 2.641 kB / 0.8293 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.5651, allocations: 35.67 kB / 0.8293 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.5653, allocations: 32.55 kB / 0.8294 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.5665, allocations: 1.429 MB / 0.8307 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.5667, allocations: 25.72 kB / 0.8308 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.5667, allocations: 3.875 kB / 0.8308 GB, free: 13.95 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 (18): * Single equations (assignments): 17 * 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.0001682/0.5669, allocations: 158.2 kB / 0.8309 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.5669, allocations: 15.75 kB / 0.8309 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.5669, allocations: 25.5 kB / 0.831 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5669, allocations: 0.7969 kB / 0.831 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5669, allocations: 0 / 0.831 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.5669, allocations: 0 / 0.831 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006727/0.5676, allocations: 491.9 kB / 0.8314 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.5676, allocations: 0 / 0.8314 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.5677, allocations: 10.89 kB / 0.8314 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.785e-05/0.5678, allocations: 28.92 kB / 0.8315 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.5678, allocations: 0 / 0.8315 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.569, allocations: 1.428 MB / 0.8329 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.569, allocations: 0.6562 kB / 0.8329 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.5693, allocations: 237.8 kB / 0.8331 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.5694, allocations: 97.61 kB / 0.8332 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.5694, allocations: 10.17 kB / 0.8332 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.5696, allocations: 6.438 kB / 0.8332 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.5696, allocations: 4.906 kB / 0.8332 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.5696, allocations: 4.297 kB / 0.8332 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000159/0.5698, allocations: 146.8 kB / 0.8334 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5698, allocations: 2.844 kB / 0.8334 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003479/0.5701, allocations: 62.16 kB / 0.8334 GB, free: 11.55 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 (7): * Single equations (assignments): 6 * 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.0001265/0.5702, allocations: 106.1 kB / 0.8335 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.5707, allocations: 224.9 kB / 0.8337 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5707, allocations: 2.188 kB / 0.8337 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.5709, allocations: 161.5 kB / 0.8339 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.5713, allocations: 44.5 kB / 0.8339 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/0.572, allocations: 422.6 kB / 0.8343 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.5725, allocations: 0.7588 MB / 0.8351 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.5725, allocations: 18.89 kB / 0.8351 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5725, allocations: 2.625 kB / 0.8351 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.006274/0.5788, allocations: 3.239 MB / 0.8383 GB, free: 9.902 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.545143874944188] Failed to read output from testmodel.py, exit status != 0: 0.587438749964349 0.602052873 0.040467245000000006 Calling exit ...