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.001095/0.001095, allocations: 104.8 kB / 17.02 MB, free: 5.699 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.001175/0.001175, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.29/1.29, allocations: 222.9 MB / 241.7 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.6898/0.6898, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3313, allocations: 76.15 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.004381/0.3357, allocations: 3.824 MB / 0.5613 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.338, allocations: 1.77 MB / 0.563 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.3382, allocations: 11.31 kB / 0.563 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.3393, allocations: 440.3 kB / 0.5635 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000516/0.3398, allocations: 250.8 kB / 0.5637 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.3404, allocations: 253.2 kB / 0.5639 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004912/0.3409, allocations: 499.5 kB / 0.5644 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006577/0.3415, allocations: 369.4 kB / 0.5648 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.3419, allocations: 197.3 kB / 0.565 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.3422, allocations: 238.5 kB / 0.5652 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/0.3423, allocations: 29.16 kB / 0.5652 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.3427, allocations: 181.6 kB / 0.5654 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.3428, allocations: 136.2 kB / 0.5655 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.343, allocations: 176.7 kB / 0.5657 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006276/0.3436, allocations: 497.1 kB / 0.5662 GB, free: 31.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3437, allocations: 0.5312 kB / 0.5662 GB, free: 31.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3437, allocations: 2.406 kB / 0.5662 GB, free: 31.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.3437, allocations: 3.938 kB / 0.5662 GB, free: 31.47 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.0009987/0.3447, allocations: 0.6631 MB / 0.5668 GB, free: 30.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3447, allocations: 10.72 kB / 0.5668 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.3453, allocations: 86.47 kB / 0.5669 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.3457, allocations: 303.2 kB / 0.5672 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.3457, allocations: 20.66 kB / 0.5672 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.3458, allocations: 28.41 kB / 0.5672 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.3466, allocations: 493.9 kB / 0.5677 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3466, allocations: 0.9375 kB / 0.5677 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.3467, allocations: 13.62 kB / 0.5677 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.444e-05/0.3467, allocations: 37.66 kB / 0.5678 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007952/0.3475, allocations: 369.5 kB / 0.5681 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.3495, allocations: 2.039 MB / 0.5701 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005605/0.3501, allocations: 212.5 kB / 0.5703 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/0.3504, allocations: 157.7 kB / 0.5705 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.3505, allocations: 9.625 kB / 0.5705 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3505, allocations: 34.31 kB / 0.5705 GB, free: 28.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.094e-06/0.3505, allocations: 0 / 0.5705 GB, free: 28.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.000999/0.3515, allocations: 427.5 kB / 0.5709 GB, free: 28.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.3516, allocations: 52.88 kB / 0.571 GB, free: 28.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.3518, allocations: 261.6 kB / 0.5712 GB, free: 27.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3518, allocations: 27.42 kB / 0.5712 GB, free: 27.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3519, allocations: 210.9 kB / 0.5714 GB, free: 27.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.352, allocations: 65.61 kB / 0.5715 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.6e-05/0.3521, allocations: 58.27 kB / 0.5716 GB, free: 27.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.3522, allocations: 335.9 kB / 0.5719 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.3524, allocations: 101 kB / 0.572 GB, free: 27.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.3527, allocations: 213.1 kB / 0.5722 GB, free: 27.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.3533, allocations: 306.6 kB / 0.5725 GB, free: 26.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3533, allocations: 1.219 kB / 0.5725 GB, free: 26.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008093/0.3541, allocations: 359.2 kB / 0.5728 GB, free: 26.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3541, allocations: 6.906 kB / 0.5728 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.3541, allocations: 3.406 kB / 0.5728 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.3544, allocations: 34.47 kB / 0.5729 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.3547, allocations: 69.44 kB / 0.5729 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.3558, allocations: 1.439 MB / 0.5743 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.3561, allocations: 47.19 kB / 0.5744 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.3561, allocations: 11.25 kB / 0.5744 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003532/0.3565, allocations: 215.3 kB / 0.5746 GB, free: 25.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002747/0.3568, allocations: 217 kB / 0.5748 GB, free: 25.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004744/0.3573, allocations: 324.2 kB / 0.5751 GB, free: 24.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.3573, allocations: 1.25 kB / 0.5751 GB, free: 24.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006166/0.3579, allocations: 338.1 kB / 0.5754 GB, free: 24.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3579, allocations: 10.81 kB / 0.5754 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3579, allocations: 5.328 kB / 0.5754 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.411e-06/0.3579, allocations: 9.5 kB / 0.5755 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3582, allocations: 68.95 kB / 0.5755 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.3582, allocations: 10.61 kB / 0.5755 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.3585, allocations: 40.27 kB / 0.5756 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.3585, allocations: 11 kB / 0.5756 GB, free: 24.62 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.801e-05/0.3586, allocations: 198.9 kB / 0.5758 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.3587, allocations: 32.59 kB / 0.5758 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.3587, allocations: 32.16 kB / 0.5758 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3587, allocations: 3.453 kB / 0.5758 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3587, allocations: 0 / 0.5758 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3588, allocations: 1.125 kB / 0.5758 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.3598, allocations: 0.7495 MB / 0.5766 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3598, allocations: 2.156 kB / 0.5766 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.36, allocations: 40.12 kB / 0.5766 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.629e-05/0.3601, allocations: 27.41 kB / 0.5766 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3601, allocations: 9.188 kB / 0.5766 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006695/0.3608, allocations: 1.419 MB / 0.578 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.3608, allocations: 1.469 kB / 0.578 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.3614, allocations: 369.2 kB / 0.5784 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.3615, allocations: 115.4 kB / 0.5785 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.3615, allocations: 6.906 kB / 0.5785 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.3617, allocations: 13.72 kB / 0.5785 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.3617, allocations: 15.09 kB / 0.5785 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3618, allocations: 12.66 kB / 0.5785 GB, free: 22.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.3619, allocations: 187.2 kB / 0.5787 GB, free: 21.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3619, allocations: 5.375 kB / 0.5787 GB, free: 21.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006065/0.3625, allocations: 144.2 kB / 0.5789 GB, free: 21.91 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 0.0001366/0.3627, allocations: 100.4 kB / 0.579 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.3639, allocations: 499.8 kB / 0.5794 GB, free: 21.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3639, allocations: 0 / 0.5794 GB, free: 21.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.3642, allocations: 221.5 kB / 0.5796 GB, free: 21.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.3647, allocations: 70.83 kB / 0.5797 GB, free: 21.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/0.3656, allocations: 0.5487 MB / 0.5802 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.3659, allocations: 0.7992 MB / 0.581 GB, free: 20.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.3661, allocations: 70.88 kB / 0.5811 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.3662, allocations: 26.44 kB / 0.5811 GB, free: 20.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3662, allocations: 0 / 0.5811 GB, free: 20.37 MB / 446.1 MB Notification: Performance of Templates: time 0.008021/0.3742, allocations: 3.514 MB / 0.5845 GB, free: 19.95 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)