Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001773, allocations: 103.2 kB / 16.93 MB, free: 5.777 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.001996/0.001997, allocations: 189.3 kB / 17.87 MB, free: 5.16 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.4/1.4, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8107/0.8107, allocations: 125.3 MB / 417.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.89 kB / 0.4948 GB, free: 4.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3397, allocations: 78.55 MB / 0.5715 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.004875/0.3446, allocations: 3.84 MB / 0.5753 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.3472, allocations: 1.772 MB / 0.577 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.3475, allocations: 11.56 kB / 0.577 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.3487, allocations: 445.7 kB / 0.5774 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000605/0.3493, allocations: 247.9 kB / 0.5777 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.35, allocations: 255.7 kB / 0.5779 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.3505, allocations: 0.4903 MB / 0.5784 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005709/0.3511, allocations: 369.8 kB / 0.5787 GB, free: 26.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.3513, allocations: 189.8 kB / 0.5789 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.3517, allocations: 240.5 kB / 0.5791 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/0.3518, allocations: 30.47 kB / 0.5792 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.3521, allocations: 184.8 kB / 0.5793 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.3523, allocations: 135.6 kB / 0.5795 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.3524, allocations: 179.3 kB / 0.5796 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.353, allocations: 490.8 kB / 0.5801 GB, free: 26.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.353, allocations: 0 / 0.5801 GB, free: 26.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.353, allocations: 0 / 0.5801 GB, free: 26.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.3531, allocations: 0 / 0.5801 GB, free: 26.13 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001049/0.3541, allocations: 0.6657 MB / 0.5808 GB, free: 25.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3542, allocations: 9.688 kB / 0.5808 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005611/0.3547, allocations: 83.47 kB / 0.5809 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.355, allocations: 294.5 kB / 0.5811 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3551, allocations: 22.09 kB / 0.5812 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.3551, allocations: 31.45 kB / 0.5812 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006986/0.3558, allocations: 492.8 kB / 0.5817 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3558, allocations: 1.25 kB / 0.5817 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.3559, allocations: 12.09 kB / 0.5817 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.818e-05/0.3559, allocations: 40.8 kB / 0.5817 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.3566, allocations: 368.3 kB / 0.5821 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.3583, allocations: 2.041 MB / 0.5841 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.3589, allocations: 215.1 kB / 0.5843 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.3592, allocations: 153.9 kB / 0.5844 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3592, allocations: 1.75 kB / 0.5844 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.3593, allocations: 41.23 kB / 0.5844 GB, free: 22.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.785e-06/0.3593, allocations: 0 / 0.5844 GB, free: 22.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001/0.3603, allocations: 426.9 kB / 0.5849 GB, free: 22.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.3603, allocations: 52.69 kB / 0.5849 GB, free: 22.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3605, allocations: 270.4 kB / 0.5852 GB, free: 22.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3606, allocations: 31.27 kB / 0.5852 GB, free: 21.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.3606, allocations: 202.8 kB / 0.5854 GB, free: 21.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.3607, allocations: 67.41 kB / 0.5855 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.3608, allocations: 55.89 kB / 0.5855 GB, free: 21.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.3608, allocations: 340.9 kB / 0.5858 GB, free: 21.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.3611, allocations: 96.34 kB / 0.5859 GB, free: 21.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.3614, allocations: 209.5 kB / 0.5861 GB, free: 21.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.3618, allocations: 306.2 kB / 0.5864 GB, free: 20.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3619, allocations: 1.312 kB / 0.5864 GB, free: 20.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006901/0.3626, allocations: 361.2 kB / 0.5868 GB, free: 20.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3626, allocations: 7.312 kB / 0.5868 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3626, allocations: 4.188 kB / 0.5868 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.3628, allocations: 32.67 kB / 0.5868 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.3631, allocations: 66.72 kB / 0.5869 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009056/0.364, allocations: 1.446 MB / 0.5883 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.3643, allocations: 39.89 kB / 0.5883 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.3643, allocations: 18.86 kB / 0.5883 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003248/0.3646, allocations: 217 kB / 0.5885 GB, free: 19.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002688/0.3649, allocations: 220.1 kB / 0.5887 GB, free: 18.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004627/0.3654, allocations: 314.5 kB / 0.589 GB, free: 18.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.3654, allocations: 2.156 kB / 0.5891 GB, free: 18.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006309/0.366, allocations: 344 kB / 0.5894 GB, free: 18.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.366, allocations: 6.906 kB / 0.5894 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.366, allocations: 4.75 kB / 0.5894 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.3661, allocations: 5.906 kB / 0.5894 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3663, allocations: 76.89 kB / 0.5895 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3663, allocations: 9.188 kB / 0.5895 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.3666, allocations: 30.77 kB / 0.5895 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.3666, allocations: 19.2 kB / 0.5895 GB, free: 18.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.827e-05/0.3667, allocations: 198.4 kB / 0.5897 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.3668, allocations: 29.34 kB / 0.5897 GB, free: 18.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.3669, allocations: 31.8 kB / 0.5898 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3669, allocations: 2.594 kB / 0.5898 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3669, allocations: 3.938 kB / 0.5898 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3669, allocations: 1.125 kB / 0.5898 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3679, allocations: 0.7507 MB / 0.5905 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.368, allocations: 1.375 kB / 0.5905 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.3682, allocations: 44.59 kB / 0.5906 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.3683, allocations: 25.5 kB / 0.5906 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3683, allocations: 5.281 kB / 0.5906 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007064/0.369, allocations: 1.419 MB / 0.592 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.369, allocations: 1.25 kB / 0.592 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.3696, allocations: 367.3 kB / 0.5923 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.3697, allocations: 121.3 kB / 0.5924 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.3697, allocations: 2.375 kB / 0.5924 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.3699, allocations: 15.92 kB / 0.5925 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.37, allocations: 26.75 kB / 0.5925 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.37, allocations: 8.312 kB / 0.5925 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.3701, allocations: 184.5 kB / 0.5927 GB, free: 15.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3701, allocations: 0 / 0.5927 GB, free: 15.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006099/0.3708, allocations: 144.9 kB / 0.5928 GB, free: 15.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 9.781e-05/0.3709, allocations: 102.6 kB / 0.5929 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.3719, allocations: 0.5007 MB / 0.5934 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3719, allocations: 1.031 kB / 0.5934 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.3722, allocations: 222.3 kB / 0.5936 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.3727, allocations: 66.5 kB / 0.5937 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00085/0.3736, allocations: 0.5912 MB / 0.5942 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.3738, allocations: 0.802 MB / 0.595 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.3739, allocations: 24.12 kB / 0.5951 GB, free: 13.62 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3739, allocations: 0 / 0.5951 GB, free: 13.62 MB / 446.1 MB Notification: Performance of Templates: time 0.00618/0.3801, allocations: 4.776 MB / 0.5997 GB, free: 9.602 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)