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.001674/0.001674, allocations: 102.6 kB / 16.4 MB, free: 5.969 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.001958/0.001958, allocations: 198.7 kB / 17.34 MB, free: 5.578 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8505/0.8505, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 65.34 kB / 0.5736 GB, free: 27.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1437, allocations: 78.86 MB / 0.6506 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001546/0.1453, allocations: 0.5829 MB / 0.6512 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002601/0.1456, allocations: 91.67 kB / 0.6512 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.464e-05/0.1456, allocations: 3.938 kB / 0.6512 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.12e-05/0.1456, allocations: 4 kB / 0.6513 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.1457, allocations: 0 / 0.6513 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.1458, allocations: 19.92 kB / 0.6513 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.1459, allocations: 7.984 kB / 0.6513 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.1459, allocations: 7.922 kB / 0.6513 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.146, allocations: 4 kB / 0.6513 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.146, allocations: 0 / 0.6513 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.146, allocations: 0 / 0.6513 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.1461, allocations: 15.98 kB / 0.6513 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.1461, allocations: 0 / 0.6513 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.1461, allocations: 15.94 kB / 0.6513 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.273e-05/0.1462, allocations: 11.97 kB / 0.6513 GB, free: 2.812 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1462, allocations: 0 / 0.6513 GB, free: 2.812 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1462, allocations: 0 / 0.6513 GB, free: 2.812 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.1462, allocations: 0 / 0.6513 GB, free: 2.812 MB / 494.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.0003275/0.1466, allocations: 324.1 kB / 0.6516 GB, free: 2.445 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.1466, allocations: 8.031 kB / 0.6516 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.1467, allocations: 30.75 kB / 0.6517 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.1468, allocations: 16.92 kB / 0.6517 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1469, allocations: 164.4 kB / 0.6519 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1469, allocations: 384 / 0.6519 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-06/0.1469, allocations: 384 / 0.6519 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.147, allocations: 42.19 kB / 0.6519 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-06/0.1471, allocations: 7.938 kB / 0.6519 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.1471, allocations: 0 / 0.6519 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1471, allocations: 0 / 0.6519 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.1472, allocations: 15.98 kB / 0.6519 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.1473, allocations: 157.6 kB / 0.6521 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1475, allocations: 42.61 kB / 0.6521 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.1475, allocations: 16.91 kB / 0.6521 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.1476, allocations: 3.938 kB / 0.6521 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1476, allocations: 34.56 kB / 0.6522 GB, free: 1.793 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1476, allocations: 4 kB / 0.6522 GB, free: 1.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001983/0.1478, allocations: 61.56 kB / 0.6522 GB, free: 1.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.1478, allocations: 55.41 kB / 0.6523 GB, free: 1.656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.085e-05/0.1479, allocations: 89.86 kB / 0.6524 GB, free: 1.559 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1479, allocations: 25.7 kB / 0.6524 GB, free: 1.527 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.1479, allocations: 80.14 kB / 0.6525 GB, free: 1.445 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.148, allocations: 7.891 kB / 0.6525 GB, free: 1.438 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.148, allocations: 21.72 kB / 0.6525 GB, free: 1.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1481, allocations: 314.8 kB / 0.6528 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.1482, allocations: 4 kB / 0.6528 GB, free: 1.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.1482, allocations: 15.92 kB / 0.6528 GB, free: 1.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.497e-05/0.1483, allocations: 16.86 kB / 0.6528 GB, free: 1.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1483, allocations: 0 / 0.6528 GB, free: 1.055 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001152/0.1484, allocations: 53.67 kB / 0.6529 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1485, allocations: 7.938 kB / 0.6529 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1485, allocations: 7.938 kB / 0.6529 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1485, allocations: 0 / 0.6529 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.1489, allocations: 39.94 kB / 0.6529 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.1502, allocations: 1.413 MB / 0.6543 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.1503, allocations: 0 / 0.6543 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.1503, allocations: 0 / 0.6543 GB, free: 15.39 MB / 0.4981 GB 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 8.396e-05/0.1504, allocations: 119.4 kB / 0.6544 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.1504, allocations: 0 / 0.6544 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.534e-05/0.1504, allocations: 7.891 kB / 0.6544 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1504, allocations: 4 kB / 0.6544 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.1504, allocations: 0 / 0.6544 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.1504, allocations: 7.984 kB / 0.6544 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.1505, allocations: 149.6 kB / 0.6546 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1505, allocations: 3.938 kB / 0.6546 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.1509, allocations: 47.94 kB / 0.6546 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1509, allocations: 0 / 0.6546 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1509, allocations: 11.94 kB / 0.6546 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.1522, allocations: 1.397 MB / 0.656 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1522, allocations: 3.938 kB / 0.656 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.1523, allocations: 81.22 kB / 0.6561 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.1524, allocations: 77.11 kB / 0.6562 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-06/0.1524, allocations: 3.938 kB / 0.6562 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.678e-05/0.1524, allocations: 4 kB / 0.6562 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.1524, allocations: 11.98 kB / 0.6562 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1525, allocations: 0 / 0.6562 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.574e-05/0.1525, allocations: 81.14 kB / 0.6563 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1525, allocations: 0 / 0.6563 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001853/0.1527, allocations: 4 kB / 0.6563 GB, free: 13.16 MB / 0.4981 GB 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.0004191/0.1531, allocations: 0.6124 MB / 0.6569 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.1536, allocations: 59.92 kB / 0.6569 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1536, allocations: 0 / 0.6569 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.1538, allocations: 43.89 kB / 0.657 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.154, allocations: 0 / 0.657 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.1544, allocations: 130.7 kB / 0.6571 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1547, allocations: 0.6728 MB / 0.6577 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.1547, allocations: 4.281 kB / 0.6577 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.1548, allocations: 11.44 kB / 0.6578 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1548, allocations: 4 kB / 0.6578 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.1786, allocations: 1.278 MB / 0.659 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.76, allocations: 17.23 kB / 0.659 GB, free: 10.36 MB / 0.4981 GB (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)