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.001364/0.001364, allocations: 103.3 kB / 15.98 MB, free: 6.344 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.001338/0.001338, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7822/0.7822, allocations: 126.1 MB / 416.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.89 kB / 0.4945 GB, free: 3.867 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3513, allocations: 78.7 MB / 0.5713 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.004177/0.3555, allocations: 3.241 MB / 0.5745 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.3573, allocations: 1.362 MB / 0.5758 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3575, allocations: 4.125 kB / 0.5758 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008841/0.3584, allocations: 311.4 kB / 0.5761 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.3588, allocations: 136.3 kB / 0.5762 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.3591, allocations: 136.1 kB / 0.5764 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.3595, allocations: 330.5 kB / 0.5767 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004484/0.3599, allocations: 280.3 kB / 0.577 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.3601, allocations: 140.1 kB / 0.5771 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.3604, allocations: 160.1 kB / 0.5772 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.3605, allocations: 20.12 kB / 0.5773 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.3608, allocations: 170 kB / 0.5774 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.649e-05/0.3609, allocations: 80.91 kB / 0.5775 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.361, allocations: 121.9 kB / 0.5776 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.3614, allocations: 367.1 kB / 0.578 GB, free: 27.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3615, allocations: 1.844 kB / 0.578 GB, free: 27.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3615, allocations: 0 / 0.578 GB, free: 27.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.3615, allocations: 1.375 kB / 0.578 GB, free: 27.19 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.00084/0.3623, allocations: 0.5476 MB / 0.5785 GB, free: 26.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3624, allocations: 11.53 kB / 0.5785 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005994/0.363, allocations: 81.48 kB / 0.5786 GB, free: 26.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.3632, allocations: 238.6 kB / 0.5788 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3633, allocations: 22.72 kB / 0.5788 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.3633, allocations: 21.98 kB / 0.5789 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.3638, allocations: 317.5 kB / 0.5792 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3638, allocations: 0 / 0.5792 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.3638, allocations: 7.438 kB / 0.5792 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.3639, allocations: 21.7 kB / 0.5792 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.3642, allocations: 212 kB / 0.5794 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.3655, allocations: 1.503 MB / 0.5809 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.3659, allocations: 202.4 kB / 0.5811 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.831e-05/0.366, allocations: 46.98 kB / 0.5811 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.366, allocations: 5.312 kB / 0.5811 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.3661, allocations: 35.12 kB / 0.5811 GB, free: 24.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.3661, allocations: 0.9375 kB / 0.5811 GB, free: 24.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005235/0.3666, allocations: 267.9 kB / 0.5814 GB, free: 24.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.3666, allocations: 54.25 kB / 0.5815 GB, free: 24.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.3669, allocations: 204.6 kB / 0.5816 GB, free: 23.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.3669, allocations: 29.7 kB / 0.5817 GB, free: 23.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.367, allocations: 174.3 kB / 0.5818 GB, free: 23.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.367, allocations: 27.67 kB / 0.5819 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.367, allocations: 43.52 kB / 0.5819 GB, free: 23.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.3671, allocations: 327.2 kB / 0.5822 GB, free: 23.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.3672, allocations: 47.94 kB / 0.5823 GB, free: 23.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3673, allocations: 111.9 kB / 0.5824 GB, free: 23.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.3675, allocations: 167 kB / 0.5825 GB, free: 23.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3675, allocations: 0 / 0.5825 GB, free: 23.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003378/0.3679, allocations: 207 kB / 0.5827 GB, free: 22.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3679, allocations: 5.906 kB / 0.5827 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3679, allocations: 3.312 kB / 0.5827 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.3681, allocations: 32.36 kB / 0.5828 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3682, allocations: 35.58 kB / 0.5828 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006952/0.3689, allocations: 1.427 MB / 0.5842 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.3691, allocations: 19.38 kB / 0.5842 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.3691, allocations: 6.406 kB / 0.5842 GB, free: 21.47 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.0001072/0.3692, allocations: 155 kB / 0.5844 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.3693, allocations: 16.34 kB / 0.5844 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.3693, allocations: 22.92 kB / 0.5844 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.3693, allocations: 0.5625 kB / 0.5844 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.3693, allocations: 2.25 kB / 0.5844 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3693, allocations: 0 / 0.5844 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.3698, allocations: 491.8 kB / 0.5849 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3698, allocations: 3.938 kB / 0.5849 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.3699, allocations: 13.11 kB / 0.5849 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.878e-05/0.37, allocations: 25.31 kB / 0.5849 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.37, allocations: 5.062 kB / 0.5849 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007272/0.3708, allocations: 1.425 MB / 0.5863 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3708, allocations: 0 / 0.5863 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.371, allocations: 239.1 kB / 0.5865 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.3711, allocations: 100.9 kB / 0.5866 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.3711, allocations: 2.25 kB / 0.5866 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3713, allocations: 12.95 kB / 0.5867 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.3713, allocations: 6.562 kB / 0.5867 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.3713, allocations: 2.781 kB / 0.5867 GB, free: 19.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.3715, allocations: 150.6 kB / 0.5868 GB, free: 18.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3715, allocations: 0 / 0.5868 GB, free: 18.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000378/0.3719, allocations: 68.97 kB / 0.5869 GB, free: 18.93 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 0.000109/0.372, allocations: 99.7 kB / 0.587 GB, free: 18.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004161/0.3724, allocations: 243.6 kB / 0.5872 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3724, allocations: 1.312 kB / 0.5872 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.3726, allocations: 154.9 kB / 0.5873 GB, free: 18.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.373, allocations: 44.59 kB / 0.5874 GB, free: 18.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/0.3736, allocations: 479.6 kB / 0.5878 GB, free: 18.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.3738, allocations: 0.7597 MB / 0.5886 GB, free: 17.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.374, allocations: 23.31 kB / 0.5886 GB, free: 17.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.374, allocations: 22.78 kB / 0.5886 GB, free: 17.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.374, allocations: 0 / 0.5886 GB, free: 17.39 MB / 446.1 MB Notification: Performance of Templates: time 0.005282/0.3793, allocations: 1.906 MB / 0.5905 GB, free: 16.46 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)