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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 112.6 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 189.2 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002513/0.002513, allocations: 290 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.015/1.015, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 95.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4576, allocations: 86.97 MB / 0.767 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.005061/0.4626, allocations: 3.208 MB / 0.7702 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.4649, allocations: 1.371 MB / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.4651, allocations: 7.938 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.4661, allocations: 336.7 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.4664, allocations: 143.2 kB / 0.772 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.4668, allocations: 159.5 kB / 0.7721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.4672, allocations: 330.7 kB / 0.7724 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.4676, allocations: 207.5 kB / 0.7726 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.4678, allocations: 139.5 kB / 0.7728 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.4681, allocations: 151.4 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.4681, allocations: 20 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.4684, allocations: 159.7 kB / 0.7731 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.4685, allocations: 91.72 kB / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.4686, allocations: 127.3 kB / 0.7733 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.4691, allocations: 356.6 kB / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4691, allocations: 0 / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4691, allocations: 0 / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4691, allocations: 0 / 0.7736 GB, free: 12.88 MB / 0.545 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.0008988/0.47, allocations: 0.5493 MB / 0.7742 GB, free: 12.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.47, allocations: 11.97 kB / 0.7742 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005955/0.4706, allocations: 80.72 kB / 0.7743 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.471, allocations: 262.3 kB / 0.7745 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.471, allocations: 16.81 kB / 0.7745 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.4711, allocations: 20.31 kB / 0.7745 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.4716, allocations: 312.6 kB / 0.7748 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4716, allocations: 0 / 0.7748 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.4717, allocations: 15.98 kB / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/0.4717, allocations: 16.42 kB / 0.7749 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.4721, allocations: 217.5 kB / 0.7751 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.4738, allocations: 1.49 MB / 0.7765 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.4743, allocations: 199.6 kB / 0.7767 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.882e-05/0.4744, allocations: 44.83 kB / 0.7768 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.4744, allocations: 0 / 0.7768 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.4744, allocations: 34.56 kB / 0.7768 GB, free: 9.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.4744, allocations: 0 / 0.7768 GB, free: 9.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0006031/0.475, allocations: 259.4 kB / 0.777 GB, free: 9.043 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.4751, allocations: 59.39 kB / 0.7771 GB, free: 8.973 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.4753, allocations: 203.8 kB / 0.7773 GB, free: 8.766 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.4753, allocations: 29.7 kB / 0.7773 GB, free: 8.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.4754, allocations: 176 kB / 0.7775 GB, free: 8.555 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.4755, allocations: 31.73 kB / 0.7775 GB, free: 8.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.4755, allocations: 41.7 kB / 0.7776 GB, free: 8.477 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4757, allocations: 326.8 kB / 0.7779 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.4758, allocations: 43.97 kB / 0.7779 GB, free: 8.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.476, allocations: 116.5 kB / 0.778 GB, free: 7.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.4762, allocations: 164.4 kB / 0.7782 GB, free: 7.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4762, allocations: 64 / 0.7782 GB, free: 7.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004029/0.4766, allocations: 218.1 kB / 0.7784 GB, free: 7.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4766, allocations: 4.094 kB / 0.7784 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4767, allocations: 7.938 kB / 0.7784 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/0.4768, allocations: 28.83 kB / 0.7784 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.477, allocations: 39.86 kB / 0.7785 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.4782, allocations: 1.422 MB / 0.7799 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.4783, allocations: 23.83 kB / 0.7799 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.4783, allocations: 8 kB / 0.7799 GB, free: 5.867 MB / 0.545 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.0001552/0.4785, allocations: 154.3 kB / 0.78 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.4785, allocations: 15.91 kB / 0.7801 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.4786, allocations: 25.38 kB / 0.7801 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.4786, allocations: 0 / 0.7801 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.4786, allocations: 4 kB / 0.7801 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4786, allocations: 4.062 kB / 0.7801 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006706/0.4793, allocations: 483.2 kB / 0.7805 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4793, allocations: 0 / 0.7805 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.889e-05/0.4793, allocations: 23.86 kB / 0.7806 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-05/0.4794, allocations: 20.84 kB / 0.7806 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4794, allocations: 0 / 0.7806 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.4806, allocations: 1.433 MB / 0.782 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4806, allocations: 0 / 0.782 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.4809, allocations: 240.2 kB / 0.7822 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.481, allocations: 101 kB / 0.7823 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.481, allocations: 0 / 0.7823 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.4811, allocations: 4 kB / 0.7823 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.4812, allocations: 19.98 kB / 0.7823 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.4812, allocations: 4 kB / 0.7823 GB, free: 3.113 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001447/0.4813, allocations: 150.1 kB / 0.7825 GB, free: 2.969 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4813, allocations: 0 / 0.7825 GB, free: 2.969 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003505/0.4817, allocations: 67.72 kB / 0.7825 GB, free: 2.902 MB / 0.545 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.0001322/0.4818, allocations: 102.2 kB / 0.7826 GB, free: 2.793 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.4823, allocations: 223.1 kB / 0.7829 GB, free: 2.562 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4823, allocations: 0 / 0.7829 GB, free: 2.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.4825, allocations: 158.7 kB / 0.783 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.4828, allocations: 36.47 kB / 0.783 GB, free: 2.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.4835, allocations: 407.1 kB / 0.7834 GB, free: 1.941 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.4839, allocations: 0.7554 MB / 0.7842 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.385e-05/0.484, allocations: 25.52 kB / 0.7842 GB, free: 1.133 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.484, allocations: 19.44 kB / 0.7842 GB, free: 1.113 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.484, allocations: 0 / 0.7842 GB, free: 1.113 MB / 0.545 GB Notification: Performance of Templates: time 0.005393/0.4894, allocations: 1.972 MB / 0.7861 GB, free: 15.16 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)