Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.0006923/0.0006923, allocations: 92.62 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007289/0.0007288, allocations: 167.4 kB / 16.58 MB, free: 5.605 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.164/1.164, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5898/0.5898, allocations: 113.7 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002506/0.0002506, allocations: 12 kB / 493.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1188, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0005608/0.1194, allocations: 331.1 kB / 0.5572 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005695/0.1199, allocations: 329.2 kB / 0.5575 GB, free: 11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.665e-05/0.12, allocations: 0 / 0.5575 GB, free: 11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.976e-06/0.12, allocations: 0 / 0.5575 GB, free: 11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.565e-05/0.12, allocations: 4 kB / 0.5575 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1203, allocations: 83.78 kB / 0.5576 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.315e-05/0.1204, allocations: 15.98 kB / 0.5576 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.024e-05/0.1204, allocations: 4 kB / 0.5576 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.748e-05/0.1205, allocations: 15.92 kB / 0.5577 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.1205, allocations: 11.97 kB / 0.5577 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.1205, allocations: 0 / 0.5577 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.1208, allocations: 271.7 kB / 0.5579 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.1209, allocations: 3.938 kB / 0.5579 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.1209, allocations: 29.7 kB / 0.558 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.906e-05/0.121, allocations: 63.89 kB / 0.558 GB, free: 10.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.121, allocations: 0 / 0.558 GB, free: 10.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.121, allocations: 0 / 0.558 GB, free: 10.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.121, allocations: 0 / 0.558 GB, free: 10.5 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003124/0.1213, allocations: 355.6 kB / 0.5584 GB, free: 10.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1214, allocations: 8.031 kB / 0.5584 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.1214, allocations: 34.56 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1215, allocations: 11.89 kB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.6e-05/0.1216, allocations: 167 kB / 0.5586 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1216, allocations: 19.86 kB / 0.5586 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.1216, allocations: 0 / 0.5586 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.033e-05/0.1217, allocations: 53.64 kB / 0.5586 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1217, allocations: 0 / 0.5586 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.1217, allocations: 0 / 0.5586 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1217, allocations: 4 kB / 0.5586 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.1218, allocations: 15.98 kB / 0.5587 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.1219, allocations: 173.6 kB / 0.5588 GB, free: 9.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.465e-05/0.122, allocations: 62.48 kB / 0.5589 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.1221, allocations: 20.86 kB / 0.5589 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005654/0.1226, allocations: 465.5 kB / 0.5594 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.1227, allocations: 34.56 kB / 0.5594 GB, free: 8.836 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.1227, allocations: 0 / 0.5594 GB, free: 8.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001021/0.1237, allocations: 0.5917 MB / 0.56 GB, free: 8.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.1237, allocations: 55.41 kB / 0.56 GB, free: 8.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.977e-05/0.1238, allocations: 101.8 kB / 0.5601 GB, free: 7.977 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1238, allocations: 29.7 kB / 0.5601 GB, free: 7.941 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.1238, allocations: 80.14 kB / 0.5602 GB, free: 7.859 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1239, allocations: 39.45 kB / 0.5603 GB, free: 7.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.1239, allocations: 0 / 0.5603 GB, free: 7.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.124, allocations: 318.8 kB / 0.5606 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.124, allocations: 23.98 kB / 0.5606 GB, free: 7.477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.1241, allocations: 23.92 kB / 0.5606 GB, free: 7.453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.1241, allocations: 24 kB / 0.5606 GB, free: 7.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1241, allocations: 0 / 0.5606 GB, free: 7.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000134/0.1242, allocations: 97.59 kB / 0.5607 GB, free: 7.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1243, allocations: 7.953 kB / 0.5607 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1243, allocations: 0 / 0.5607 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.1243, allocations: 0 / 0.5607 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.1244, allocations: 27.98 kB / 0.5608 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1244, allocations: 0 / 0.5608 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.1244, allocations: 7.938 kB / 0.5608 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.1244, allocations: 4.094 kB / 0.5608 GB, free: 7.281 MB / 430.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.705e-05/0.1245, allocations: 117.8 kB / 0.5609 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.1245, allocations: 4 kB / 0.5609 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.1247, allocations: 117.1 kB / 0.561 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1247, allocations: 0 / 0.561 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1247, allocations: 0 / 0.561 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1247, allocations: 4 kB / 0.561 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.125, allocations: 354.5 kB / 0.5613 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.125, allocations: 3.953 kB / 0.5613 GB, free: 6.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.423e-05/0.1251, allocations: 19.98 kB / 0.5614 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1252, allocations: 4 kB / 0.5614 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1252, allocations: 0 / 0.5614 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1252, allocations: 4 kB / 0.5614 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1252, allocations: 3.938 kB / 0.5614 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.1254, allocations: 223.1 kB / 0.5616 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.1254, allocations: 84.97 kB / 0.5617 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.1255, allocations: 8.016 kB / 0.5617 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.1255, allocations: 4 kB / 0.5617 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.1256, allocations: 4 kB / 0.5617 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1256, allocations: 11.92 kB / 0.5617 GB, free: 6.234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.531e-05/0.1256, allocations: 75.28 kB / 0.5618 GB, free: 6.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1256, allocations: 4 kB / 0.5618 GB, free: 6.156 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1259, allocations: 44.06 kB / 0.5618 GB, free: 6.113 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005159/0.1264, allocations: 0.7872 MB / 0.5626 GB, free: 5.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.1265, allocations: 67.86 kB / 0.5626 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1265, allocations: 0 / 0.5626 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.1266, allocations: 31.98 kB / 0.5627 GB, free: 5.203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.1268, allocations: 12.06 kB / 0.5627 GB, free: 5.191 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.1274, allocations: 0.5086 MB / 0.5632 GB, free: 4.633 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.1276, allocations: 0.6887 MB / 0.5639 GB, free: 3.918 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.519e-05/0.1277, allocations: 23.92 kB / 0.5639 GB, free: 3.895 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.1277, allocations: 19.44 kB / 0.5639 GB, free: 3.875 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1277, allocations: 0 / 0.5639 GB, free: 3.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.1384, allocations: 2.227 MB / 0.5661 GB, free: 1.84 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.1386, allocations: 220.2 kB / 0.5663 GB, free: 1.598 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.625, allocations: 4 kB / 0.5663 GB, free: 1.594 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: