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.001474/0.001474, allocations: 108.9 kB / 17.02 MB, free: 6.121 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.001757/0.001757, allocations: 196.1 kB / 17.97 MB, free: 5.211 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7231/0.7231, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3455, allocations: 76.15 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.00447/0.35, allocations: 3.187 MB / 0.5607 GB, free: 34.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.3523, allocations: 1.37 MB / 0.562 GB, free: 33.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.3525, allocations: 7.844 kB / 0.562 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009317/0.3534, allocations: 340.8 kB / 0.5623 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.3538, allocations: 145.8 kB / 0.5625 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.3543, allocations: 147.6 kB / 0.5626 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.3547, allocations: 330.4 kB / 0.5629 GB, free: 33.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/0.3551, allocations: 254.7 kB / 0.5632 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.3553, allocations: 144.9 kB / 0.5633 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.3556, allocations: 152.9 kB / 0.5635 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.3556, allocations: 20.34 kB / 0.5635 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.3559, allocations: 158 kB / 0.5636 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.356, allocations: 90.81 kB / 0.5637 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3562, allocations: 120.6 kB / 0.5638 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.3566, allocations: 358.1 kB / 0.5642 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3566, allocations: 0 / 0.5642 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3566, allocations: 0 / 0.5642 GB, free: 32.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3566, allocations: 0 / 0.5642 GB, free: 32.64 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.000786/0.3574, allocations: 0.5454 MB / 0.5647 GB, free: 32.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3575, allocations: 9.906 kB / 0.5647 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006078/0.3581, allocations: 77.56 kB / 0.5648 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.3584, allocations: 258.1 kB / 0.565 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3584, allocations: 17.36 kB / 0.5651 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.3585, allocations: 21.72 kB / 0.5651 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.359, allocations: 314.7 kB / 0.5654 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.359, allocations: 0.6875 kB / 0.5654 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.359, allocations: 10.78 kB / 0.5654 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.3591, allocations: 17.44 kB / 0.5654 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.3594, allocations: 213 kB / 0.5656 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.3608, allocations: 1.49 MB / 0.5671 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.3612, allocations: 207.3 kB / 0.5673 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3613, allocations: 52.72 kB / 0.5673 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.3614, allocations: 1.719 kB / 0.5673 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.3614, allocations: 32.95 kB / 0.5673 GB, free: 30.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.3614, allocations: 1.438 kB / 0.5673 GB, free: 30.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005585/0.362, allocations: 263.7 kB / 0.5676 GB, free: 29.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.362, allocations: 53.88 kB / 0.5677 GB, free: 29.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.3622, allocations: 213 kB / 0.5679 GB, free: 29.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3623, allocations: 25.7 kB / 0.5679 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.3623, allocations: 173.8 kB / 0.568 GB, free: 29.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3624, allocations: 31.44 kB / 0.5681 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.3624, allocations: 36.61 kB / 0.5681 GB, free: 29.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.3625, allocations: 328 kB / 0.5684 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-05/0.3626, allocations: 45.41 kB / 0.5685 GB, free: 29.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3627, allocations: 110.9 kB / 0.5686 GB, free: 29.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.3629, allocations: 168.6 kB / 0.5687 GB, free: 28.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.363, allocations: 1.25 kB / 0.5687 GB, free: 28.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003536/0.3633, allocations: 212.2 kB / 0.5689 GB, free: 28.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3633, allocations: 6 kB / 0.5689 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3634, allocations: 2.156 kB / 0.5689 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.3635, allocations: 29.69 kB / 0.569 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.3637, allocations: 37.52 kB / 0.569 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000851/0.3646, allocations: 1.426 MB / 0.5704 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.3647, allocations: 20.61 kB / 0.5704 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.3647, allocations: 6.812 kB / 0.5704 GB, free: 27.38 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.0001184/0.3649, allocations: 152.5 kB / 0.5706 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.3649, allocations: 17.61 kB / 0.5706 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.365, allocations: 24.2 kB / 0.5706 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.365, allocations: 6.188 kB / 0.5706 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.365, allocations: 0 / 0.5706 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.365, allocations: 1.734 kB / 0.5706 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.3656, allocations: 488.5 kB / 0.5711 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3656, allocations: 0 / 0.5711 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.3656, allocations: 22.69 kB / 0.5711 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/0.3658, allocations: 23.17 kB / 0.5711 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.3658, allocations: 1.672 kB / 0.5711 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007453/0.3665, allocations: 1.422 MB / 0.5725 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3666, allocations: 0.5 kB / 0.5725 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.3668, allocations: 240.3 kB / 0.5727 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.3669, allocations: 104.4 kB / 0.5728 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.367, allocations: 1.281 kB / 0.5728 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3671, allocations: 8.016 kB / 0.5729 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.3671, allocations: 9.094 kB / 0.5729 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3671, allocations: 2.344 kB / 0.5729 GB, free: 25.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.3673, allocations: 151.5 kB / 0.573 GB, free: 25.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3673, allocations: 0.5312 kB / 0.573 GB, free: 25.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.3676, allocations: 59.5 kB / 0.5731 GB, free: 24.99 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 9.188e-05/0.3677, allocations: 97.69 kB / 0.5732 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.3681, allocations: 230.6 kB / 0.5734 GB, free: 24.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3682, allocations: 1.062 kB / 0.5734 GB, free: 24.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.3683, allocations: 168.6 kB / 0.5735 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.3687, allocations: 45.08 kB / 0.5736 GB, free: 24.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/0.3695, allocations: 388.3 kB / 0.574 GB, free: 24.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.3697, allocations: 0.7557 MB / 0.5747 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.3699, allocations: 27.75 kB / 0.5747 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.3699, allocations: 14.97 kB / 0.5747 GB, free: 23.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3699, allocations: 1 kB / 0.5747 GB, free: 23.65 MB / 446.1 MB Notification: Performance of Templates: time 0.005322/0.3752, allocations: 1.933 MB / 0.5766 GB, free: 23.52 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)