Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001717/0.001717, allocations: 104 kB / 16.52 MB, free: 6.27 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.00198/0.00198, allocations: 196 kB / 17.44 MB, free: 5.887 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.372/1.372, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7204/0.7204, allocations: 115.3 MB / 406.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.89 kB / 493.6 MB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3648, allocations: 76.16 MB / 0.5564 GB, free: 36.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004269/0.3691, allocations: 3.238 MB / 0.5595 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.371, allocations: 1.368 MB / 0.5609 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.3711, allocations: 4.625 kB / 0.5609 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009095/0.3721, allocations: 332.7 kB / 0.5612 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.3724, allocations: 133 kB / 0.5613 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.3727, allocations: 131.3 kB / 0.5614 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.3732, allocations: 458.3 kB / 0.5619 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.3735, allocations: 180.2 kB / 0.562 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3737, allocations: 116.3 kB / 0.5622 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.374, allocations: 153 kB / 0.5623 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.374, allocations: 14.22 kB / 0.5623 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.3744, allocations: 208.5 kB / 0.5625 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.451e-05/0.3745, allocations: 81.27 kB / 0.5626 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3746, allocations: 117.7 kB / 0.5627 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.375, allocations: 271.7 kB / 0.563 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.375, allocations: 1.625 kB / 0.563 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.375, allocations: 1.125 kB / 0.563 GB, free: 32.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.375, allocations: 0 / 0.563 GB, free: 32.17 MB / 446.1 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.0008148/0.3758, allocations: 0.5358 MB / 0.5635 GB, free: 31.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3758, allocations: 13.81 kB / 0.5635 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005738/0.3764, allocations: 83.25 kB / 0.5636 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.3767, allocations: 256.3 kB / 0.5638 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3767, allocations: 15.03 kB / 0.5638 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.3768, allocations: 24.84 kB / 0.5639 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.3773, allocations: 308.5 kB / 0.5642 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3773, allocations: 3.188 kB / 0.5642 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.3773, allocations: 14.95 kB / 0.5642 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.3774, allocations: 20.19 kB / 0.5642 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.3777, allocations: 214.3 kB / 0.5644 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.3794, allocations: 1.489 MB / 0.5659 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.3799, allocations: 203.1 kB / 0.5661 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.38, allocations: 49.84 kB / 0.5661 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.38, allocations: 1.094 kB / 0.5661 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.3801, allocations: 42.11 kB / 0.5661 GB, free: 29.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.3801, allocations: 0 / 0.5661 GB, free: 29.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000601/0.3807, allocations: 256.3 kB / 0.5664 GB, free: 29.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.3807, allocations: 53.5 kB / 0.5664 GB, free: 29.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.381, allocations: 207.7 kB / 0.5666 GB, free: 29.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.381, allocations: 26.95 kB / 0.5667 GB, free: 29.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.3811, allocations: 181.5 kB / 0.5668 GB, free: 29.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.3811, allocations: 33.92 kB / 0.5669 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.3812, allocations: 39.25 kB / 0.5669 GB, free: 29.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.3813, allocations: 331.2 kB / 0.5672 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.3814, allocations: 42.91 kB / 0.5673 GB, free: 28.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.3815, allocations: 114.6 kB / 0.5674 GB, free: 28.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3818, allocations: 163.6 kB / 0.5675 GB, free: 28.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3818, allocations: 0.9375 kB / 0.5675 GB, free: 28.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004041/0.3822, allocations: 213.4 kB / 0.5677 GB, free: 28.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.3823, allocations: 9.312 kB / 0.5677 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3823, allocations: 3.453 kB / 0.5677 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.3825, allocations: 35.5 kB / 0.5678 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.3826, allocations: 33.09 kB / 0.5678 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009243/0.3836, allocations: 1.327 MB / 0.5691 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.3838, allocations: 19.84 kB / 0.5691 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.3838, allocations: 7.25 kB / 0.5691 GB, free: 27 MB / 446.1 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.0001514/0.3839, allocations: 154.2 kB / 0.5693 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.384, allocations: 20.47 kB / 0.5693 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.384, allocations: 19.72 kB / 0.5693 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3841, allocations: 3.344 kB / 0.5693 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3841, allocations: 1.469 kB / 0.5693 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3841, allocations: 0.75 kB / 0.5693 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006068/0.3847, allocations: 482.3 kB / 0.5698 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3847, allocations: 1.828 kB / 0.5698 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.3848, allocations: 11.42 kB / 0.5698 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.44e-05/0.3849, allocations: 26.91 kB / 0.5698 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3849, allocations: 5.219 kB / 0.5698 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006455/0.3855, allocations: 1.325 MB / 0.5711 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3855, allocations: 4.875 kB / 0.5711 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.3858, allocations: 246.4 kB / 0.5714 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.3859, allocations: 103.9 kB / 0.5715 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3859, allocations: 1.312 kB / 0.5715 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.386, allocations: 9.672 kB / 0.5715 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3861, allocations: 6.359 kB / 0.5715 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3861, allocations: 1.125 kB / 0.5715 GB, free: 24.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.3862, allocations: 147.7 kB / 0.5716 GB, free: 24.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3862, allocations: 0 / 0.5716 GB, free: 24.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003445/0.3866, allocations: 57.8 kB / 0.5717 GB, free: 24.72 MB / 446.1 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.94e-05/0.3867, allocations: 103.2 kB / 0.5718 GB, free: 24.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003878/0.3871, allocations: 231.8 kB / 0.572 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3871, allocations: 2.156 kB / 0.572 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.3873, allocations: 160.8 kB / 0.5721 GB, free: 24.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.3876, allocations: 40.23 kB / 0.5722 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.3883, allocations: 0.5171 MB / 0.5727 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.3885, allocations: 0.7526 MB / 0.5734 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.3886, allocations: 16.48 kB / 0.5734 GB, free: 23.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3886, allocations: 0 / 0.5734 GB, free: 23.27 MB / 446.1 MB Notification: Performance of Templates: time 0.005702/0.3943, allocations: 3.205 MB / 0.5766 GB, free: 23.04 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)