Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.001115/0.001115, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001194/0.001194, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.285/1.285, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7129/0.7129, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 63.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3346, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001588/0.3362, allocations: 0.5794 MB / 0.5679 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002427/0.3364, allocations: 89.59 kB / 0.5679 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.3365, allocations: 0 / 0.5679 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.065e-05/0.3365, allocations: 1.406 kB / 0.5679 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.186e-05/0.3365, allocations: 0.5156 kB / 0.5679 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.3368, allocations: 22.67 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.842e-05/0.3368, allocations: 5.562 kB / 0.568 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.3369, allocations: 6.203 kB / 0.568 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.012e-05/0.3369, allocations: 3.109 kB / 0.568 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.337, allocations: 8.688 kB / 0.568 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.337, allocations: 0 / 0.568 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.708e-05/0.337, allocations: 15.25 kB / 0.568 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.3371, allocations: 2.234 kB / 0.568 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.3371, allocations: 9.328 kB / 0.568 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.237e-05/0.3372, allocations: 18.33 kB / 0.568 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.3372, allocations: 1.688 kB / 0.568 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3372, allocations: 0 / 0.568 GB, free: 32.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3372, allocations: 1.219 kB / 0.568 GB, free: 32.27 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.000259/0.3375, allocations: 322.6 kB / 0.5683 GB, free: 31.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3375, allocations: 9.875 kB / 0.5684 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/0.3375, allocations: 32.47 kB / 0.5684 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.3377, allocations: 10.14 kB / 0.5684 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.23e-05/0.3377, allocations: 165 kB / 0.5686 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.3378, allocations: 2.125 kB / 0.5686 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.3378, allocations: 2.094 kB / 0.5686 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.3379, allocations: 41.28 kB / 0.5686 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3379, allocations: 4.453 kB / 0.5686 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3379, allocations: 0.9688 kB / 0.5686 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3379, allocations: 0.8125 kB / 0.5686 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.362e-05/0.338, allocations: 16.22 kB / 0.5686 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.363e-05/0.3381, allocations: 152.3 kB / 0.5688 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.3383, allocations: 45.66 kB / 0.5688 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.3384, allocations: 12.28 kB / 0.5688 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.3384, allocations: 0 / 0.5688 GB, free: 31.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.3384, allocations: 33.97 kB / 0.5688 GB, free: 31.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3384, allocations: 0 / 0.5688 GB, free: 31.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001816/0.3386, allocations: 65 kB / 0.5689 GB, free: 31.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.3386, allocations: 57.12 kB / 0.569 GB, free: 31.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.347e-05/0.3386, allocations: 89.86 kB / 0.5691 GB, free: 31.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/0.3387, allocations: 27.61 kB / 0.5691 GB, free: 31.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.678e-06/0.3387, allocations: 80.98 kB / 0.5692 GB, free: 31.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.3387, allocations: 8.672 kB / 0.5692 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.3387, allocations: 18.44 kB / 0.5692 GB, free: 31.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.65e-05/0.3388, allocations: 312.5 kB / 0.5695 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-05/0.3388, allocations: 7.297 kB / 0.5695 GB, free: 30.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.3388, allocations: 13.7 kB / 0.5695 GB, free: 30.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.03e-05/0.3389, allocations: 22.44 kB / 0.5695 GB, free: 30.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3389, allocations: 0 / 0.5695 GB, free: 30.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.924e-05/0.339, allocations: 53.25 kB / 0.5696 GB, free: 30.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3391, allocations: 5.359 kB / 0.5696 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3391, allocations: 9 kB / 0.5696 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.3391, allocations: 0 / 0.5696 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.3395, allocations: 44.19 kB / 0.5696 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009677/0.3404, allocations: 1.397 MB / 0.571 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/0.3405, allocations: 2.062 kB / 0.571 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.3405, allocations: 6.625 kB / 0.571 GB, free: 29.21 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/0.3405, allocations: 116.7 kB / 0.5711 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.3406, allocations: 1.656 kB / 0.5711 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.3406, allocations: 9.25 kB / 0.5711 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3406, allocations: 5.219 kB / 0.5711 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.3406, allocations: 0.5 kB / 0.5711 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3406, allocations: 1.062 kB / 0.5711 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.496e-05/0.3407, allocations: 159.5 kB / 0.5713 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3407, allocations: 1.562 kB / 0.5713 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.341, allocations: 53.67 kB / 0.5713 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.341, allocations: 0 / 0.5713 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.341, allocations: 0.5156 kB / 0.5713 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008408/0.3419, allocations: 1.414 MB / 0.5727 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3419, allocations: 1.125 kB / 0.5727 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.342, allocations: 70.73 kB / 0.5728 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.342, allocations: 79.19 kB / 0.5729 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.3421, allocations: 4.828 kB / 0.5729 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.695e-05/0.3421, allocations: 5.922 kB / 0.5729 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.3421, allocations: 7.781 kB / 0.5729 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.3421, allocations: 0.6562 kB / 0.5729 GB, free: 27.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.284e-05/0.3421, allocations: 81.31 kB / 0.573 GB, free: 27.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3421, allocations: 0 / 0.573 GB, free: 27.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002065/0.3423, allocations: 3.094 kB / 0.573 GB, free: 27.17 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002845/0.3426, allocations: 0.6109 MB / 0.5736 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000444/0.3431, allocations: 71.12 kB / 0.5736 GB, free: 26.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3431, allocations: 0.5312 kB / 0.5736 GB, free: 26.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.3433, allocations: 34.95 kB / 0.5737 GB, free: 26.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.3435, allocations: 2.125 kB / 0.5737 GB, free: 26.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.3438, allocations: 124 kB / 0.5738 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.127e-05/0.3439, allocations: 0.6742 MB / 0.5744 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.063e-05/0.3439, allocations: 3.656 kB / 0.5744 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.344, allocations: 15.25 kB / 0.5745 GB, free: 25.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.344, allocations: 0 / 0.5745 GB, free: 25.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.3598, allocations: 1.245 MB / 0.5757 GB, free: 25.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.65, allocations: 6.109 kB / 0.5757 GB, free: 25.38 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.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_Functions_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)