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.001498/0.001498, allocations: 104.8 kB / 15.98 MB, free: 6.34 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.001697/0.001697, allocations: 195.4 kB / 16.91 MB, free: 6.184 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8017/0.8017, allocations: 122.9 MB / 413.6 MB, free: 88 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.89 kB / 0.4906 GB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3623, allocations: 77.91 MB / 0.5667 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.005706/0.368, allocations: 3.878 MB / 0.5705 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002881/0.3709, allocations: 1.754 MB / 0.5722 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003308/0.3713, allocations: 10.69 kB / 0.5722 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.3726, allocations: 418.3 kB / 0.5726 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007004/0.3734, allocations: 228.4 kB / 0.5728 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.3741, allocations: 226.9 kB / 0.573 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007479/0.3749, allocations: 0.5001 MB / 0.5735 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006967/0.3756, allocations: 399.7 kB / 0.5739 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000335/0.3759, allocations: 195.8 kB / 0.5741 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004906/0.3764, allocations: 250.6 kB / 0.5743 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/0.3765, allocations: 30.47 kB / 0.5744 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.3769, allocations: 186 kB / 0.5745 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.3771, allocations: 134.2 kB / 0.5747 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.3773, allocations: 177.6 kB / 0.5748 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007493/0.3781, allocations: 0.5002 MB / 0.5753 GB, free: 26.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3781, allocations: 3.906 kB / 0.5753 GB, free: 26.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3781, allocations: 0 / 0.5753 GB, free: 26.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3781, allocations: 0 / 0.5753 GB, free: 26.93 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.001255/0.3794, allocations: 0.6542 MB / 0.576 GB, free: 26.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3794, allocations: 11.75 kB / 0.576 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006347/0.3801, allocations: 83.61 kB / 0.5761 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.3804, allocations: 292.9 kB / 0.5763 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.3805, allocations: 24.2 kB / 0.5764 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.3805, allocations: 27.44 kB / 0.5764 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/0.3814, allocations: 492.8 kB / 0.5768 GB, free: 25.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3814, allocations: 5.828 kB / 0.5769 GB, free: 25.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.3814, allocations: 15.48 kB / 0.5769 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.549e-05/0.3815, allocations: 42.81 kB / 0.5769 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000788/0.3823, allocations: 361.1 kB / 0.5773 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.3842, allocations: 2.045 MB / 0.5793 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.3848, allocations: 213.5 kB / 0.5795 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.3852, allocations: 153.7 kB / 0.5796 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3852, allocations: 7.406 kB / 0.5796 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.3852, allocations: 36.67 kB / 0.5796 GB, free: 23.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.863e-06/0.3852, allocations: 0 / 0.5796 GB, free: 23.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001071/0.3863, allocations: 422.5 kB / 0.58 GB, free: 23.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.3863, allocations: 53 kB / 0.5801 GB, free: 23.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.3866, allocations: 271 kB / 0.5804 GB, free: 23.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3866, allocations: 29.14 kB / 0.5804 GB, free: 23.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.3867, allocations: 206.2 kB / 0.5806 GB, free: 23.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.3868, allocations: 61.58 kB / 0.5806 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.3868, allocations: 60.59 kB / 0.5807 GB, free: 23.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.3869, allocations: 336.8 kB / 0.581 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.3872, allocations: 98.48 kB / 0.5811 GB, free: 22.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.3875, allocations: 206.3 kB / 0.5813 GB, free: 22.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.388, allocations: 310.1 kB / 0.5816 GB, free: 22.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.388, allocations: 2.406 kB / 0.5816 GB, free: 22.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007268/0.3887, allocations: 353.1 kB / 0.5819 GB, free: 22.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3887, allocations: 6.438 kB / 0.582 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3887, allocations: 5.125 kB / 0.582 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.389, allocations: 35.92 kB / 0.582 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.3892, allocations: 64.08 kB / 0.5821 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009321/0.3902, allocations: 1.461 MB / 0.5835 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.3905, allocations: 42.39 kB / 0.5835 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.3905, allocations: 11.64 kB / 0.5835 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003283/0.3908, allocations: 217 kB / 0.5837 GB, free: 20.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002678/0.3911, allocations: 217.7 kB / 0.5839 GB, free: 20.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004694/0.3916, allocations: 317.8 kB / 0.5842 GB, free: 20.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.3916, allocations: 2.406 kB / 0.5842 GB, free: 20.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000612/0.3922, allocations: 342.6 kB / 0.5846 GB, free: 20.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.3922, allocations: 7.062 kB / 0.5846 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3923, allocations: 4.25 kB / 0.5846 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.032e-06/0.3923, allocations: 5.594 kB / 0.5846 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.3925, allocations: 73.95 kB / 0.5847 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3925, allocations: 4.844 kB / 0.5847 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.3928, allocations: 34.22 kB / 0.5847 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3928, allocations: 14.69 kB / 0.5847 GB, free: 20.04 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 8.154e-05/0.3929, allocations: 203.1 kB / 0.5849 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.3929, allocations: 24.66 kB / 0.5849 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.393, allocations: 32.83 kB / 0.585 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.393, allocations: 2.5 kB / 0.585 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.393, allocations: 3.938 kB / 0.585 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.393, allocations: 0 / 0.585 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009996/0.394, allocations: 0.7591 MB / 0.5857 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.394, allocations: 1.188 kB / 0.5857 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.3943, allocations: 36.59 kB / 0.5857 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.491e-05/0.3944, allocations: 32.94 kB / 0.5858 GB, free: 19.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.3944, allocations: 2.656 kB / 0.5858 GB, free: 19.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006582/0.395, allocations: 1.431 MB / 0.5872 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3951, allocations: 7.5 kB / 0.5872 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/0.3956, allocations: 356.6 kB / 0.5875 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.3957, allocations: 121.5 kB / 0.5876 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.3957, allocations: 10.62 kB / 0.5876 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.3959, allocations: 15.7 kB / 0.5877 GB, free: 17.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.396, allocations: 23.16 kB / 0.5877 GB, free: 17.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.396, allocations: 8.25 kB / 0.5877 GB, free: 17.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.3961, allocations: 188 kB / 0.5879 GB, free: 17.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3962, allocations: 0 / 0.5879 GB, free: 17.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005767/0.3967, allocations: 144.5 kB / 0.588 GB, free: 17.07 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.478e-05/0.3968, allocations: 103.1 kB / 0.5881 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009714/0.3978, allocations: 0.5013 MB / 0.5886 GB, free: 16.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3978, allocations: 1.188 kB / 0.5886 GB, free: 16.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.3981, allocations: 220.3 kB / 0.5888 GB, free: 16.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.3987, allocations: 77.5 kB / 0.5889 GB, free: 16.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.3994, allocations: 0.6667 MB / 0.5895 GB, free: 16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.3997, allocations: 0.8022 MB / 0.5903 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.3999, allocations: 73.53 kB / 0.5904 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.4, allocations: 21.62 kB / 0.5904 GB, free: 15.19 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4, allocations: 5.312 kB / 0.5904 GB, free: 15.18 MB / 446.1 MB Notification: Performance of Templates: time 0.006913/0.4069, allocations: 3.397 MB / 0.5937 GB, free: 13.54 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)