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.001858/0.001858, allocations: 88.16 kB / 19.44 MB, free: 188 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.002097/0.002097, allocations: 165.3 kB / 22.77 MB, free: 1.512 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.003273/0.003273, allocations: 238.7 kB / 259.8 MB, free: 12.85 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.164/1.164, allocations: 138.4 MB / 454.7 MB, free: 1.469 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.974e-06/1.974e-06, allocations: 0 / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.476e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.007755/0.00779, allocations: 3.259 MB / 0.5575 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00362/0.01141, allocations: 1.422 MB / 0.5589 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.01164, allocations: 7.938 kB / 0.5589 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.01308, allocations: 346.6 kB / 0.5592 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006113/0.01369, allocations: 155 kB / 0.5594 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.0143, allocations: 159.4 kB / 0.5595 GB, free: 11.51 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007084/0.01501, allocations: 342.7 kB / 0.5598 GB, free: 11.18 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006114/0.01562, allocations: 204 kB / 0.56 GB, free: 10.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.01613, allocations: 203.4 kB / 0.5602 GB, free: 10.78 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.01654, allocations: 147.6 kB / 0.5604 GB, free: 10.63 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.0166, allocations: 16 kB / 0.5604 GB, free: 10.62 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.01704, allocations: 155.6 kB / 0.5605 GB, free: 10.46 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.01721, allocations: 103.7 kB / 0.5606 GB, free: 10.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.01739, allocations: 83.83 kB / 0.5607 GB, free: 10.28 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008007/0.01819, allocations: 374.8 kB / 0.5611 GB, free: 9.914 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01819, allocations: 0 / 0.5611 GB, free: 9.914 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0182, allocations: 0 / 0.5611 GB, free: 9.914 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.01821, allocations: 0 / 0.5611 GB, free: 9.914 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.001345/0.01955, allocations: 0.5931 MB / 0.5616 GB, free: 9.281 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.0196, allocations: 12.75 kB / 0.5617 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.02066, allocations: 120.6 kB / 0.5618 GB, free: 9.152 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.02113, allocations: 204.8 kB / 0.562 GB, free: 8.922 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.02117, allocations: 20.86 kB / 0.562 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.02122, allocations: 24.38 kB / 0.562 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/0.02193, allocations: 331.8 kB / 0.5623 GB, free: 8.504 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.02195, allocations: 192 / 0.5623 GB, free: 8.504 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.02199, allocations: 8.375 kB / 0.5623 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/0.02204, allocations: 24.42 kB / 0.5624 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.02245, allocations: 109.9 kB / 0.5625 GB, free: 8.367 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.02475, allocations: 1.321 MB / 0.5638 GB, free: 6.977 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.02524, allocations: 99.02 kB / 0.5638 GB, free: 6.867 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.02535, allocations: 31.67 kB / 0.5639 GB, free: 6.832 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.02537, allocations: 7.938 kB / 0.5639 GB, free: 6.824 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.02542, allocations: 37.45 kB / 0.5639 GB, free: 6.777 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.02542, allocations: 0 / 0.5639 GB, free: 6.777 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.000655/0.02607, allocations: 149.2 kB / 0.5641 GB, free: 6.621 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.02613, allocations: 51.41 kB / 0.5641 GB, free: 6.559 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.02647, allocations: 285.5 kB / 0.5644 GB, free: 6.262 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.0265, allocations: 25.7 kB / 0.5644 GB, free: 6.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.02666, allocations: 226.9 kB / 0.5646 GB, free: 6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.0267, allocations: 27.75 kB / 0.5647 GB, free: 5.973 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.199e-05/0.02678, allocations: 55.25 kB / 0.5647 GB, free: 5.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.02704, allocations: 0.5001 MB / 0.5652 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.534e-05/0.02713, allocations: 31.98 kB / 0.5652 GB, free: 5.367 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.0273, allocations: 127.6 kB / 0.5653 GB, free: 5.203 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.02755, allocations: 172.5 kB / 0.5655 GB, free: 4.992 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.02756, allocations: 4 kB / 0.5655 GB, free: 4.988 MB / 490.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003688/0.02793, allocations: 181 kB / 0.5657 GB, free: 4.801 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.02795, allocations: 11.12 kB / 0.5657 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02795, allocations: 0 / 0.5657 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.0282, allocations: 39.95 kB / 0.5657 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.02836, allocations: 31.92 kB / 0.5658 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.03004, allocations: 1.76 MB / 0.5675 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.03018, allocations: 20.02 kB / 0.5675 GB, free: 2.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.03021, allocations: 8 kB / 0.5675 GB, free: 2.809 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.000199/0.0304, allocations: 172.5 kB / 0.5677 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.03046, allocations: 19.91 kB / 0.5677 GB, free: 2.609 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.0305, allocations: 25.39 kB / 0.5677 GB, free: 2.582 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.0305, allocations: 0 / 0.5677 GB, free: 2.582 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.03051, allocations: 0 / 0.5677 GB, free: 2.582 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.03051, allocations: 4 kB / 0.5677 GB, free: 2.578 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007233/0.03124, allocations: 452.9 kB / 0.5682 GB, free: 2.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.03124, allocations: 4 kB / 0.5682 GB, free: 2.086 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.086e-05/0.0313, allocations: 12 kB / 0.5682 GB, free: 2.074 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/0.03147, allocations: 35.66 kB / 0.5682 GB, free: 2.035 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.03148, allocations: 0 / 0.5682 GB, free: 2.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.0329, allocations: 1.751 MB / 0.5699 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.03291, allocations: 3.938 kB / 0.5699 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.03328, allocations: 267.4 kB / 0.5702 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.03334, allocations: 15.91 kB / 0.5702 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.03336, allocations: 11.92 kB / 0.5702 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.03348, allocations: 8 kB / 0.5702 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.03353, allocations: 7.969 kB / 0.5702 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.03354, allocations: 8.094 kB / 0.5702 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001713/0.03371, allocations: 192.1 kB / 0.5704 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03371, allocations: 0 / 0.5704 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003576/0.03407, allocations: 59.84 kB / 0.5705 GB, free: 15.58 MB / 0.4948 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.0001222/0.03419, allocations: 99.19 kB / 0.5706 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005953/0.03478, allocations: 269.4 kB / 0.5708 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.03479, allocations: 4.188 kB / 0.5708 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.03506, allocations: 213.5 kB / 0.571 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.03543, allocations: 32.12 kB / 0.5711 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.03617, allocations: 386.7 kB / 0.5714 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.03635, allocations: 140.2 kB / 0.5716 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.588e-05/0.03645, allocations: 25.47 kB / 0.5716 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.03649, allocations: 16.5 kB / 0.5716 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of SimCode: time 4.5e-07/0.03649, allocations: 0 / 0.5716 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.00594/0.04243, allocations: 1.872 MB / 0.5734 GB, free: 12.49 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.753815407981165]