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.001079/0.001079, allocations: 89.06 kB / 19.65 MB, free: 284 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.001248/0.001248, allocations: 165 kB / 23.01 MB, free: 1.559 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 0.935/0.935, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.001599/0.001599, allocations: 231.8 kB / 260.2 MB, free: 12.81 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 0.7443/0.7443, allocations: 138.4 MB / 455.2 MB, free: 1.461 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 1.883e-06/1.883e-06, allocations: 0 / 0.5551 GB, free: 476 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.638e-05, allocations: 2.312 kB / 0.5551 GB, free: 472 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003302/0.003328, allocations: 2.117 MB / 0.5572 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.004876, allocations: 1.204 MB / 0.5584 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.168e-05/0.004967, allocations: 7.938 kB / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.005389, allocations: 79.58 kB / 0.5584 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.005668, allocations: 143.2 kB / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.005958, allocations: 163.5 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.006194, allocations: 223.2 kB / 0.5589 GB, free: 12.51 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.006416, allocations: 97.16 kB / 0.559 GB, free: 12.42 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.006612, allocations: 127.7 kB / 0.5592 GB, free: 12.29 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.006798, allocations: 95.73 kB / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.006821, allocations: 16 kB / 0.5593 GB, free: 12.18 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.007035, allocations: 159.5 kB / 0.5594 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.007109, allocations: 67.81 kB / 0.5595 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.007171, allocations: 55.89 kB / 0.5595 GB, free: 11.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.007449, allocations: 231.2 kB / 0.5598 GB, free: 11.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.007452, allocations: 0 / 0.5598 GB, free: 11.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.007452, allocations: 0 / 0.5598 GB, free: 11.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.007457, allocations: 0 / 0.5598 GB, free: 11.68 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.0004615/0.007918, allocations: 0.496 MB / 0.5602 GB, free: 11.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.007952, allocations: 8.75 kB / 0.5602 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004733/0.008426, allocations: 116.6 kB / 0.5604 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.008617, allocations: 184.1 kB / 0.5605 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.00863, allocations: 8.656 kB / 0.5605 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.008662, allocations: 12.38 kB / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.00896, allocations: 272.1 kB / 0.5608 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.008971, allocations: 4.188 kB / 0.5608 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.008991, allocations: 11.94 kB / 0.5608 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.009021, allocations: 20.22 kB / 0.5608 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.009178, allocations: 100.5 kB / 0.5609 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.01022, allocations: 1.593 MB / 0.5625 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.0104, allocations: 134 kB / 0.5626 GB, free: 8.523 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.706e-05/0.01045, allocations: 43.3 kB / 0.5627 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.01047, allocations: 0 / 0.5627 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.01049, allocations: 41.52 kB / 0.5627 GB, free: 8.422 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 8.42e-07/0.01049, allocations: 3.938 kB / 0.5627 GB, free: 8.418 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003446/0.01083, allocations: 157.1 kB / 0.5629 GB, free: 8.258 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.01086, allocations: 81.11 kB / 0.5629 GB, free: 8.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.01102, allocations: 257.9 kB / 0.5632 GB, free: 7.891 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.01103, allocations: 29.7 kB / 0.5632 GB, free: 7.855 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.01112, allocations: 202.9 kB / 0.5634 GB, free: 7.652 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.01114, allocations: 39.69 kB / 0.5634 GB, free: 7.613 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.0112, allocations: 55.31 kB / 0.5635 GB, free: 7.551 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.0113, allocations: 0.5 MB / 0.564 GB, free: 7.039 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.01136, allocations: 39.66 kB / 0.564 GB, free: 6.996 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.01146, allocations: 159.1 kB / 0.5642 GB, free: 6.789 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.01162, allocations: 195.7 kB / 0.5644 GB, free: 6.543 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01163, allocations: 0 / 0.5644 GB, free: 6.543 MB / 490.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002293/0.01185, allocations: 201.2 kB / 0.5646 GB, free: 6.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.01187, allocations: 8 kB / 0.5646 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.01187, allocations: 0 / 0.5646 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.01189, allocations: 7.984 kB / 0.5646 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.01204, allocations: 52.28 kB / 0.5646 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.01204, allocations: 8 kB / 0.5646 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.01214, allocations: 27.88 kB / 0.5647 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.01216, allocations: 15.92 kB / 0.5647 GB, free: 6.223 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.182e-05/0.01224, allocations: 158.8 kB / 0.5648 GB, free: 6.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.188e-05/0.01233, allocations: 155.6 kB / 0.565 GB, free: 5.852 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001377/0.01247, allocations: 195.4 kB / 0.5652 GB, free: 5.602 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.01247, allocations: 0 / 0.5652 GB, free: 5.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000201/0.01267, allocations: 193.2 kB / 0.5653 GB, free: 5.406 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/0.01268, allocations: 8 kB / 0.5653 GB, free: 5.398 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.01268, allocations: 0 / 0.5653 GB, free: 5.398 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.01268, allocations: 8 kB / 0.5654 GB, free: 5.391 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.01278, allocations: 48.31 kB / 0.5654 GB, free: 5.344 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.01278, allocations: 11.98 kB / 0.5654 GB, free: 5.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.01287, allocations: 15.95 kB / 0.5654 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.01287, allocations: 11.98 kB / 0.5654 GB, free: 5.305 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 8.664e-05/0.01296, allocations: 288 kB / 0.5657 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.013, allocations: 15.91 kB / 0.5657 GB, free: 5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.01313, allocations: 95 kB / 0.5658 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01313, allocations: 4 kB / 0.5658 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01313, allocations: 0 / 0.5658 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01314, allocations: 0 / 0.5658 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.01361, allocations: 0.6302 MB / 0.5664 GB, free: 4.184 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01362, allocations: 4 kB / 0.5664 GB, free: 4.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.01367, allocations: 31.86 kB / 0.5665 GB, free: 4.148 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01367, allocations: 4 kB / 0.5665 GB, free: 4.145 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.01368, allocations: 0 / 0.5665 GB, free: 4.145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01368, allocations: 4.344 kB / 0.5665 GB, free: 4.141 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.01368, allocations: 8 kB / 0.5665 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.01389, allocations: 444.1 kB / 0.5669 GB, free: 3.641 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.01393, allocations: 39.83 kB / 0.5669 GB, free: 3.602 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.01396, allocations: 7.984 kB / 0.567 GB, free: 3.594 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.01405, allocations: 7.938 kB / 0.567 GB, free: 3.586 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.01407, allocations: 15.98 kB / 0.567 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.01408, allocations: 4 kB / 0.567 GB, free: 3.566 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.546e-05/0.01417, allocations: 176.1 kB / 0.5672 GB, free: 3.395 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01417, allocations: 4 kB / 0.5672 GB, free: 3.391 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000338/0.0145, allocations: 68 kB / 0.5672 GB, free: 3.324 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.0001055/0.01461, allocations: 111.1 kB / 0.5673 GB, free: 3.207 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.01486, allocations: 188.9 kB / 0.5675 GB, free: 3.016 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01486, allocations: 0 / 0.5675 GB, free: 3.016 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.0149, allocations: 39.55 kB / 0.5675 GB, free: 2.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.01521, allocations: 40.61 kB / 0.5676 GB, free: 2.934 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.01583, allocations: 418 kB / 0.568 GB, free: 2.453 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.686e-05/0.01589, allocations: 84.27 kB / 0.5681 GB, free: 2.352 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.01602, allocations: 77.41 kB / 0.5681 GB, free: 2.277 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.01606, allocations: 16.5 kB / 0.5682 GB, free: 2.262 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01606, allocations: 0 / 0.5682 GB, free: 2.262 MB / 490.7 MB Notification: Performance of Templates: time 0.003418/0.01948, allocations: 1.913 MB / 0.57 GB, free: 392 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.537500035017729]