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.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.001418/0.001418, 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.001559/0.001559, 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.432/1.432, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.002625/0.002625, allocations: 241 kB / 259.8 MB, free: 12.83 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.079/1.079, allocations: 138.5 MB / 454.7 MB, free: 1.473 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.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 1.433e-06/1.433e-06, allocations: 0 / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.907e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.005751/0.00578, allocations: 3.154 MB / 0.5574 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.008586, allocations: 1.379 MB / 0.5587 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.008758, allocations: 7.938 kB / 0.5587 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.01007, allocations: 334.6 kB / 0.5591 GB, free: 11.98 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004519/0.01052, allocations: 159 kB / 0.5592 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.011, allocations: 163.4 kB / 0.5594 GB, free: 11.66 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005245/0.01153, allocations: 338.7 kB / 0.5597 GB, free: 11.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005029/0.01203, allocations: 204 kB / 0.5599 GB, free: 11.13 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004135/0.01244, allocations: 203.4 kB / 0.5601 GB, free: 10.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.01277, allocations: 131.6 kB / 0.5602 GB, free: 10.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.01282, allocations: 20 kB / 0.5602 GB, free: 10.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.01315, allocations: 159.5 kB / 0.5604 GB, free: 10.63 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.01329, allocations: 91.78 kB / 0.5605 GB, free: 10.54 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.01342, allocations: 87.77 kB / 0.5605 GB, free: 10.45 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.01406, allocations: 374.8 kB / 0.5609 GB, free: 10.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01406, allocations: 0 / 0.5609 GB, free: 10.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01406, allocations: 0 / 0.5609 GB, free: 10.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.01407, allocations: 0 / 0.5609 GB, free: 10.09 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001012/0.01508, allocations: 485.4 kB / 0.5614 GB, free: 9.578 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.01512, allocations: 8.75 kB / 0.5614 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007993/0.01592, allocations: 136.6 kB / 0.5615 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.01629, allocations: 206 kB / 0.5617 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.01631, allocations: 12.88 kB / 0.5617 GB, free: 9.195 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.338e-05/0.01637, allocations: 20.38 kB / 0.5617 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/0.01704, allocations: 394.8 kB / 0.5621 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.01705, allocations: 4.188 kB / 0.5621 GB, free: 8.742 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.01708, allocations: 8.359 kB / 0.5621 GB, free: 8.734 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.01713, allocations: 24.44 kB / 0.5621 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.01758, allocations: 205.8 kB / 0.5623 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.01923, allocations: 1.015 MB / 0.5633 GB, free: 7.438 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.01968, allocations: 126.5 kB / 0.5635 GB, free: 7.305 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.01979, allocations: 40.83 kB / 0.5635 GB, free: 7.262 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.01981, allocations: 11.92 kB / 0.5635 GB, free: 7.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.01984, allocations: 34.56 kB / 0.5635 GB, free: 7.207 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.021e-06/0.01985, allocations: 0 / 0.5635 GB, free: 7.207 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006243/0.02047, allocations: 190.3 kB / 0.5637 GB, free: 7.012 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.02051, allocations: 51.41 kB / 0.5638 GB, free: 6.949 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.02077, allocations: 206.5 kB / 0.564 GB, free: 6.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.02079, allocations: 29.7 kB / 0.564 GB, free: 6.695 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.02094, allocations: 176.1 kB / 0.5642 GB, free: 6.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.02097, allocations: 27.75 kB / 0.5642 GB, free: 6.492 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.02105, allocations: 41.66 kB / 0.5642 GB, free: 6.445 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.02123, allocations: 322.8 kB / 0.5645 GB, free: 6.121 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.02136, allocations: 47.97 kB / 0.5646 GB, free: 6.074 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.02153, allocations: 115 kB / 0.5647 GB, free: 5.934 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.02183, allocations: 176.2 kB / 0.5649 GB, free: 5.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02183, allocations: 0 / 0.5649 GB, free: 5.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004687/0.0223, allocations: 214.2 kB / 0.5651 GB, free: 5.512 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.02232, allocations: 8 kB / 0.5651 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.02233, allocations: 8 kB / 0.5651 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/0.02259, allocations: 41.11 kB / 0.5651 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.02274, allocations: 35.92 kB / 0.5652 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.02422, allocations: 1.3 MB / 0.5664 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.02437, allocations: 24.08 kB / 0.5664 GB, free: 3.992 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.02439, allocations: 8 kB / 0.5665 GB, free: 3.984 MB / 490.7 MB 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.0001602/0.02455, allocations: 145.8 kB / 0.5666 GB, free: 3.832 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.0246, allocations: 15.91 kB / 0.5666 GB, free: 3.816 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.02465, allocations: 25.39 kB / 0.5666 GB, free: 3.789 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.02465, allocations: 0 / 0.5666 GB, free: 3.789 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.02465, allocations: 4 kB / 0.5666 GB, free: 3.785 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.02465, allocations: 0 / 0.5666 GB, free: 3.785 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000696/0.02535, allocations: 410.9 kB / 0.567 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02535, allocations: 0 / 0.567 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.932e-05/0.02543, allocations: 11.98 kB / 0.567 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.02562, allocations: 36.83 kB / 0.5671 GB, free: 3.293 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.02563, allocations: 0 / 0.5671 GB, free: 3.293 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.02692, allocations: 1.311 MB / 0.5684 GB, free: 1.879 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.02692, allocations: 3.938 kB / 0.5684 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.02731, allocations: 236.2 kB / 0.5686 GB, free: 1.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.02737, allocations: 27.83 kB / 0.5686 GB, free: 1.598 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.0274, allocations: 7.938 kB / 0.5686 GB, free: 1.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.02754, allocations: 8 kB / 0.5686 GB, free: 1.582 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.02758, allocations: 8.141 kB / 0.5686 GB, free: 1.574 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.02759, allocations: 4 kB / 0.5686 GB, free: 1.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001503/0.02774, allocations: 140.5 kB / 0.5688 GB, free: 1.434 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02774, allocations: 0 / 0.5688 GB, free: 1.434 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000377/0.02812, allocations: 59.84 kB / 0.5688 GB, free: 1.375 MB / 490.7 MB 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.0001204/0.02824, allocations: 95.25 kB / 0.5689 GB, free: 1.273 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004953/0.02873, allocations: 234.3 kB / 0.5691 GB, free: 1.035 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02873, allocations: 0 / 0.5691 GB, free: 1.035 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.02899, allocations: 158.5 kB / 0.5693 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.02939, allocations: 36.33 kB / 0.5693 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007719/0.03016, allocations: 393.5 kB / 0.5697 GB, free: 436 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.03033, allocations: 140.2 kB / 0.5698 GB, free: 280 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.03044, allocations: 29.47 kB / 0.5699 GB, free: 248 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.03048, allocations: 12.5 kB / 0.5699 GB, free: 236 kB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.03048, allocations: 0 / 0.5699 GB, free: 236 kB / 490.7 MB Notification: Performance of Templates: time 0.005786/0.03627, allocations: 1.888 MB / 0.5717 GB, free: 14.39 MB / 0.4948 GB " [Timeout remaining time 660] 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: 5.464124241960235]