Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 104.3 kB / 16.27 MB, free: 5.988 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.001108/0.001108, allocations: 188.3 kB / 17.19 MB, free: 5.617 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.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.732/0.732, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 67.88 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3352, allocations: 77.91 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002374/0.3376, allocations: 1.437 MB / 0.5687 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002426/0.3379, allocations: 84.95 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.3379, allocations: 1 kB / 0.5688 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.338, allocations: 5.156 kB / 0.5688 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.338, allocations: 4.641 kB / 0.5688 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.3382, allocations: 19.23 kB / 0.5688 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.693e-05/0.3383, allocations: 29.61 kB / 0.5688 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.846e-05/0.3384, allocations: 4.641 kB / 0.5688 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.3384, allocations: 9.594 kB / 0.5688 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.3384, allocations: 14.83 kB / 0.5688 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.3385, allocations: 2.188 kB / 0.5688 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.636e-05/0.3385, allocations: 16.83 kB / 0.5689 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.3385, allocations: 7.922 kB / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.3386, allocations: 11.73 kB / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3387, allocations: 34.67 kB / 0.5689 GB, free: 31.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3387, allocations: 1.062 kB / 0.5689 GB, free: 31.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3387, allocations: 0 / 0.5689 GB, free: 31.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3387, allocations: 1.75 kB / 0.5689 GB, free: 31.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003474/0.3391, allocations: 342.3 kB / 0.5692 GB, free: 31.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3391, allocations: 9.281 kB / 0.5693 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.239e-05/0.3391, allocations: 32.72 kB / 0.5693 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.3393, allocations: 16.77 kB / 0.5693 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.865e-05/0.3394, allocations: 172 kB / 0.5695 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.3394, allocations: 1.344 kB / 0.5695 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.3394, allocations: 1.75 kB / 0.5695 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.3396, allocations: 65.66 kB / 0.5695 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3396, allocations: 5.016 kB / 0.5695 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3396, allocations: 4.641 kB / 0.5695 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3396, allocations: 5.062 kB / 0.5695 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.3399, allocations: 44.77 kB / 0.5696 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.3402, allocations: 267.4 kB / 0.5698 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3403, allocations: 60.8 kB / 0.5699 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3404, allocations: 30.22 kB / 0.5699 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.3405, allocations: 2.156 kB / 0.5699 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.3405, allocations: 32.72 kB / 0.57 GB, free: 30.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.3405, allocations: 1.125 kB / 0.57 GB, free: 30.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003932/0.3409, allocations: 105.1 kB / 0.5701 GB, free: 30.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.3409, allocations: 57.16 kB / 0.5701 GB, free: 30.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.341, allocations: 105.3 kB / 0.5702 GB, free: 30.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.341, allocations: 27.08 kB / 0.5702 GB, free: 30.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.409e-05/0.341, allocations: 86.55 kB / 0.5703 GB, free: 30.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.341, allocations: 5.25 kB / 0.5703 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.3411, allocations: 13.73 kB / 0.5703 GB, free: 30.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.3411, allocations: 317.6 kB / 0.5706 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3412, allocations: 24.25 kB / 0.5707 GB, free: 29.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.54e-05/0.3413, allocations: 25.59 kB / 0.5707 GB, free: 29.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.3415, allocations: 47.97 kB / 0.5707 GB, free: 29.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3416, allocations: 4.469 kB / 0.5707 GB, free: 29.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002287/0.3418, allocations: 83.36 kB / 0.5708 GB, free: 29.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3418, allocations: 6.953 kB / 0.5708 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3418, allocations: 1.406 kB / 0.5708 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3418, allocations: 0 / 0.5708 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3419, allocations: 14.98 kB / 0.5708 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.342, allocations: 2.438 kB / 0.5709 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.342, allocations: 9.719 kB / 0.5709 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.342, allocations: 0 / 0.5709 GB, free: 29.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.3421, allocations: 118.3 kB / 0.571 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.3421, allocations: 0.9688 kB / 0.571 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.3421, allocations: 6.609 kB / 0.571 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3422, allocations: 1.094 kB / 0.571 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3422, allocations: 0 / 0.571 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3422, allocations: 3.016 kB / 0.571 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.3423, allocations: 166.9 kB / 0.5711 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3423, allocations: 2.219 kB / 0.5711 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.3424, allocations: 15.02 kB / 0.5712 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3424, allocations: 0 / 0.5712 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.3424, allocations: 4.312 kB / 0.5712 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3424, allocations: 0 / 0.5712 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3424, allocations: 1.031 kB / 0.5712 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.3427, allocations: 182.3 kB / 0.5713 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.3427, allocations: 81.09 kB / 0.5714 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3427, allocations: 1.219 kB / 0.5714 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.992e-05/0.3428, allocations: 7.562 kB / 0.5714 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.3428, allocations: 13.56 kB / 0.5714 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3429, allocations: 1.188 kB / 0.5714 GB, free: 29.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.423e-05/0.3429, allocations: 81.86 kB / 0.5715 GB, free: 29.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3429, allocations: 1 kB / 0.5715 GB, free: 29.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.3431, allocations: 4.438 kB / 0.5715 GB, free: 29.04 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004039/0.3435, allocations: 0.7113 MB / 0.5722 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.3438, allocations: 52.05 kB / 0.5723 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3438, allocations: 0 / 0.5723 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.3439, allocations: 28.3 kB / 0.5723 GB, free: 28.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.3442, allocations: 2.734 kB / 0.5723 GB, free: 28.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.3446, allocations: 159.8 kB / 0.5724 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.778e-05/0.3447, allocations: 0.6776 MB / 0.5731 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.072e-05/0.3447, allocations: 2.406 kB / 0.5731 GB, free: 27.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.3448, allocations: 13.38 kB / 0.5731 GB, free: 27.49 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3448, allocations: 0.5938 kB / 0.5731 GB, free: 27.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.3607, allocations: 1.417 MB / 0.5745 GB, free: 27.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.372, allocations: 7.797 kB / 0.5745 GB, free: 27.16 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)