Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002512/0.002512, allocations: 228.7 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.066/1.066, allocations: 138.4 MB / 454.7 MB, free: 1.43 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.917e-06/3.917e-06, allocations: 3.984 kB / 0.5543 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.303e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.00424/0.004263, allocations: 2.402 MB / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00295/0.007213, allocations: 1.535 MB / 0.5582 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.007332, allocations: 3.938 kB / 0.5582 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007247/0.008057, allocations: 175.3 kB / 0.5584 GB, free: 12.67 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004751/0.008532, allocations: 159.1 kB / 0.5585 GB, free: 12.52 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.009062, allocations: 187.3 kB / 0.5587 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.009437, allocations: 231.2 kB / 0.5589 GB, free: 12.11 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.00971, allocations: 101.1 kB / 0.559 GB, free: 12.01 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.009983, allocations: 123.7 kB / 0.5591 GB, free: 11.89 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.01022, allocations: 95.73 kB / 0.5592 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.01025, allocations: 16 kB / 0.5592 GB, free: 11.78 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.01064, allocations: 207.4 kB / 0.5594 GB, free: 11.57 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.01074, allocations: 63.81 kB / 0.5595 GB, free: 11.51 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.01083, allocations: 47.91 kB / 0.5595 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.01144, allocations: 323 kB / 0.5598 GB, free: 11.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.01145, allocations: 0 / 0.5598 GB, free: 11.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01145, allocations: 0 / 0.5598 GB, free: 11.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.01145, allocations: 0 / 0.5598 GB, free: 11.15 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007329/0.01219, allocations: 413.5 kB / 0.5602 GB, free: 10.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.01222, allocations: 8.75 kB / 0.5602 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008801/0.0131, allocations: 120.7 kB / 0.5604 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.01341, allocations: 181.1 kB / 0.5605 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.01343, allocations: 8.656 kB / 0.5605 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.01348, allocations: 16.38 kB / 0.5606 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.01405, allocations: 317.9 kB / 0.5609 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01406, allocations: 4.188 kB / 0.5609 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.0141, allocations: 15.88 kB / 0.5609 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/0.01414, allocations: 16.22 kB / 0.5609 GB, free: 9.977 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.01463, allocations: 220.4 kB / 0.5611 GB, free: 9.762 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.01663, allocations: 1.272 MB / 0.5623 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.017, allocations: 157.1 kB / 0.5625 GB, free: 8.258 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.01712, allocations: 61.84 kB / 0.5625 GB, free: 8.191 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.01713, allocations: 0 / 0.5625 GB, free: 8.191 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.01717, allocations: 46.42 kB / 0.5626 GB, free: 8.137 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 8.71e-07/0.01717, allocations: 0 / 0.5626 GB, free: 8.137 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006357/0.01781, allocations: 245 kB / 0.5628 GB, free: 7.891 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.01787, allocations: 81.11 kB / 0.5629 GB, free: 7.793 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.01816, allocations: 206.5 kB / 0.5631 GB, free: 7.578 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.0182, allocations: 25.7 kB / 0.5631 GB, free: 7.547 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.01833, allocations: 164.1 kB / 0.5633 GB, free: 7.383 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.01836, allocations: 31.7 kB / 0.5633 GB, free: 7.352 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.01847, allocations: 57.64 kB / 0.5634 GB, free: 7.289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.01865, allocations: 326.8 kB / 0.5637 GB, free: 6.961 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.01884, allocations: 76.81 kB / 0.5638 GB, free: 6.883 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.01909, allocations: 159 kB / 0.5639 GB, free: 6.688 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.01951, allocations: 250.8 kB / 0.5641 GB, free: 6.402 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01951, allocations: 0 / 0.5641 GB, free: 6.402 MB / 490.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005978/0.02011, allocations: 277.6 kB / 0.5644 GB, free: 6.125 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.02012, allocations: 12.03 kB / 0.5644 GB, free: 6.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.02014, allocations: 4 kB / 0.5644 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.02016, allocations: 4 kB / 0.5644 GB, free: 6.105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.02044, allocations: 51.91 kB / 0.5645 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.02045, allocations: 7.938 kB / 0.5645 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.02072, allocations: 28.05 kB / 0.5645 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.02075, allocations: 15.94 kB / 0.5645 GB, free: 6.004 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002491/0.021, allocations: 168.1 kB / 0.5647 GB, free: 5.836 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002506/0.02125, allocations: 163.2 kB / 0.5648 GB, free: 5.637 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003511/0.0216, allocations: 215.8 kB / 0.565 GB, free: 5.383 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.208e-06/0.02161, allocations: 4 kB / 0.5651 GB, free: 5.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005507/0.02216, allocations: 257.3 kB / 0.5653 GB, free: 5.121 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.02217, allocations: 8 kB / 0.5653 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.02218, allocations: 4 kB / 0.5653 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.02218, allocations: 4 kB / 0.5653 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.02241, allocations: 51.91 kB / 0.5654 GB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.02242, allocations: 7.938 kB / 0.5654 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.02266, allocations: 24.19 kB / 0.5654 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.02269, allocations: 15.98 kB / 0.5654 GB, free: 5.008 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.02283, allocations: 196.1 kB / 0.5656 GB, free: 4.809 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.0229, allocations: 15.95 kB / 0.5656 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.02326, allocations: 143 kB / 0.5657 GB, free: 4.645 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.02327, allocations: 4 kB / 0.5658 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.02327, allocations: 0 / 0.5658 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.02328, allocations: 3.984 kB / 0.5658 GB, free: 4.637 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.02434, allocations: 0.6413 MB / 0.5664 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02434, allocations: 0 / 0.5664 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.02447, allocations: 35.84 kB / 0.5664 GB, free: 3.895 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.02447, allocations: 4 kB / 0.5664 GB, free: 3.891 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.02449, allocations: 4 kB / 0.5664 GB, free: 3.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.02449, allocations: 4 kB / 0.5664 GB, free: 3.883 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.0245, allocations: 3.938 kB / 0.5664 GB, free: 3.879 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.025, allocations: 386.7 kB / 0.5668 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.02508, allocations: 39.75 kB / 0.5668 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.02511, allocations: 4 kB / 0.5668 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.02533, allocations: 7.984 kB / 0.5668 GB, free: 3.406 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.02537, allocations: 15.98 kB / 0.5669 GB, free: 3.391 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.02538, allocations: 4 kB / 0.5669 GB, free: 3.387 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002321/0.02561, allocations: 156.2 kB / 0.567 GB, free: 3.234 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.02561, allocations: 0 / 0.567 GB, free: 3.234 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006033/0.02622, allocations: 72 kB / 0.5671 GB, free: 3.164 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001513/0.02637, allocations: 111.2 kB / 0.5672 GB, free: 3.047 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005825/0.02695, allocations: 261.5 kB / 0.5674 GB, free: 2.793 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02695, allocations: 0 / 0.5674 GB, free: 2.793 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.02705, allocations: 59.83 kB / 0.5675 GB, free: 2.734 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.02754, allocations: 36.69 kB / 0.5675 GB, free: 2.703 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009011/0.02844, allocations: 416.1 kB / 0.5679 GB, free: 2.238 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.0286, allocations: 127.9 kB / 0.5681 GB, free: 2.094 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.02884, allocations: 89.38 kB / 0.5681 GB, free: 2.008 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.02891, allocations: 16.5 kB / 0.5682 GB, free: 1.992 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02891, allocations: 0 / 0.5682 GB, free: 1.992 MB / 490.7 MB Notification: Performance of Templates: time 0.005565/0.03447, allocations: 1.912 MB / 0.57 GB, free: 116 kB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3474888319615275]