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.001406/0.001406, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001482/0.001482, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9735/0.9735, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.002643/0.002643, allocations: 233.6 kB / 261.3 MB, free: 12.67 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.7319/0.7319, allocations: 138.5 MB / 456.3 MB, free: 1.414 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.172e-06/1.172e-06, allocations: 0 / 0.5563 GB, free: 272 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.923e-05, allocations: 5.406 kB / 0.5564 GB, free: 268 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.002944/0.002964, allocations: 2.678 MB / 0.559 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.00436, allocations: 1.048 MB / 0.56 GB, free: 12.51 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.004524, allocations: 7.938 kB / 0.56 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.005039, allocations: 99.44 kB / 0.5601 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.005351, allocations: 147.1 kB / 0.5602 GB, free: 12.26 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.005662, allocations: 139.5 kB / 0.5604 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.006035, allocations: 342.7 kB / 0.5607 GB, free: 11.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.006381, allocations: 200 kB / 0.5609 GB, free: 11.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.006681, allocations: 207.4 kB / 0.5611 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.006945, allocations: 139.6 kB / 0.5612 GB, free: 11.25 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.006977, allocations: 20 kB / 0.5612 GB, free: 11.23 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.007145, allocations: 91.78 kB / 0.5613 GB, free: 11.14 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.007231, allocations: 95.73 kB / 0.5614 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.007308, allocations: 87.81 kB / 0.5615 GB, free: 10.96 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.007586, allocations: 255 kB / 0.5617 GB, free: 10.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.007589, allocations: 0 / 0.5617 GB, free: 10.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00759, allocations: 0 / 0.5617 GB, free: 10.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.007594, allocations: 4 kB / 0.5617 GB, free: 10.71 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.000577/0.008171, allocations: 0.5584 MB / 0.5623 GB, free: 10.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.008202, allocations: 8.75 kB / 0.5623 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.008604, allocations: 128.5 kB / 0.5624 GB, free: 9.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.008817, allocations: 189 kB / 0.5626 GB, free: 9.766 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.008832, allocations: 16.86 kB / 0.5626 GB, free: 9.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.008855, allocations: 20.38 kB / 0.5626 GB, free: 9.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.009112, allocations: 308.5 kB / 0.5629 GB, free: 9.375 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.009122, allocations: 4.125 kB / 0.5629 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.009139, allocations: 12.38 kB / 0.5629 GB, free: 9.359 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.009169, allocations: 24.42 kB / 0.563 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.009264, allocations: 79.31 kB / 0.563 GB, free: 9.262 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.01013, allocations: 1.27 MB / 0.5643 GB, free: 7.922 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.01033, allocations: 91.08 kB / 0.5644 GB, free: 7.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.01036, allocations: 23.67 kB / 0.5644 GB, free: 7.793 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.01038, allocations: 7.938 kB / 0.5644 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.0104, allocations: 37.33 kB / 0.5644 GB, free: 7.738 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.0104, allocations: 0 / 0.5644 GB, free: 7.738 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002624/0.01066, allocations: 121.2 kB / 0.5646 GB, free: 7.609 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.01069, allocations: 51.41 kB / 0.5646 GB, free: 7.547 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.01081, allocations: 241.7 kB / 0.5648 GB, free: 7.293 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.01082, allocations: 25.7 kB / 0.5649 GB, free: 7.262 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.01091, allocations: 230.8 kB / 0.5651 GB, free: 7.031 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.01093, allocations: 31.73 kB / 0.5651 GB, free: 7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.01097, allocations: 47.25 kB / 0.5652 GB, free: 6.945 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.01109, allocations: 0.4962 MB / 0.5656 GB, free: 6.438 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.01111, allocations: 15.98 kB / 0.5657 GB, free: 6.422 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.01118, allocations: 111.6 kB / 0.5658 GB, free: 6.273 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.94e-05/0.01127, allocations: 140.7 kB / 0.5659 GB, free: 6.094 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.01128, allocations: 4 kB / 0.5659 GB, free: 6.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001747/0.01145, allocations: 160.9 kB / 0.5661 GB, free: 5.922 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.01146, allocations: 4 kB / 0.5661 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01147, allocations: 4 kB / 0.5661 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.01163, allocations: 27.67 kB / 0.5661 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01174, allocations: 28.27 kB / 0.5661 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008901/0.01263, allocations: 1.732 MB / 0.5678 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.505e-05/0.0127, allocations: 19.88 kB / 0.5678 GB, free: 3.984 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.01271, allocations: 4 kB / 0.5678 GB, free: 3.98 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 8.292e-05/0.0128, allocations: 168.6 kB / 0.568 GB, free: 3.805 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.01282, allocations: 19.91 kB / 0.568 GB, free: 3.785 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.01284, allocations: 21.45 kB / 0.568 GB, free: 3.762 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01284, allocations: 11.88 kB / 0.568 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01285, allocations: 0 / 0.568 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.01285, allocations: 0 / 0.568 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.01312, allocations: 361.6 kB / 0.5684 GB, free: 3.359 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01313, allocations: 0 / 0.5684 GB, free: 3.359 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.01316, allocations: 19.92 kB / 0.5684 GB, free: 3.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.722e-05/0.01326, allocations: 35.59 kB / 0.5684 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.01326, allocations: 4 kB / 0.5684 GB, free: 3.297 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006634/0.01393, allocations: 1.713 MB / 0.5701 GB, free: 1.473 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01393, allocations: 0 / 0.5701 GB, free: 1.473 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.01406, allocations: 243.6 kB / 0.5703 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.01409, allocations: 19.91 kB / 0.5704 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.01411, allocations: 7.984 kB / 0.5704 GB, free: 1.184 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.873e-05/0.01417, allocations: 4 kB / 0.5704 GB, free: 1.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.01419, allocations: 7.984 kB / 0.5704 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.0142, allocations: 3.938 kB / 0.5704 GB, free: 1.168 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.741e-05/0.01427, allocations: 176.1 kB / 0.5706 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01427, allocations: 0 / 0.5706 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.01449, allocations: 63.78 kB / 0.5706 GB, free: 0.9336 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 8.981e-05/0.01458, allocations: 99.25 kB / 0.5707 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.01481, allocations: 245 kB / 0.5709 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01481, allocations: 0 / 0.5709 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.954e-05/0.01491, allocations: 205.5 kB / 0.5711 GB, free: 356 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.01515, allocations: 33.25 kB / 0.5712 GB, free: 324 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.01578, allocations: 374.8 kB / 0.5715 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.183e-05/0.01584, allocations: 95.91 kB / 0.5716 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.684e-05/0.01589, allocations: 21.47 kB / 0.5716 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.554e-05/0.01598, allocations: 106.2 kB / 0.5717 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.01598, allocations: 0 / 0.5717 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.004065/0.02004, allocations: 2.047 MB / 0.5737 GB, free: 13.68 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: 3.6097184270620346]