Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.000697/0.000697, allocations: 92.86 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.0007848/0.0007848, allocations: 171 kB / 16.58 MB, free: 5.926 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.182/1.182, allocations: 223.3 MB / 240.6 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5965/0.5965, allocations: 113.8 MB / 405.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002615, allocations: 18.06 kB / 493.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 77.12 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006107/0.1237, allocations: 315.1 kB / 0.5572 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005245/0.1243, allocations: 321.3 kB / 0.5575 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.1243, allocations: 0 / 0.5575 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.915e-06/0.1243, allocations: 0 / 0.5575 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.801e-05/0.1243, allocations: 0 / 0.5575 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.1246, allocations: 71.78 kB / 0.5576 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.793e-05/0.1247, allocations: 7.984 kB / 0.5576 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.981e-05/0.1247, allocations: 8 kB / 0.5576 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.468e-05/0.1247, allocations: 4 kB / 0.5576 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.74e-05/0.1248, allocations: 4 kB / 0.5576 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.1248, allocations: 0 / 0.5576 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.1251, allocations: 271.6 kB / 0.5579 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.445e-06/0.1251, allocations: 7.922 kB / 0.5579 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.1252, allocations: 25.7 kB / 0.5579 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.539e-05/0.1253, allocations: 59.84 kB / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1253, allocations: 0 / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1253, allocations: 0 / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1253, allocations: 0 / 0.558 GB, free: 10.55 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002706/0.1256, allocations: 339.4 kB / 0.5583 GB, free: 10.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1256, allocations: 8.031 kB / 0.5583 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.516e-05/0.1256, allocations: 34.56 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.1257, allocations: 4 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.1258, allocations: 163.3 kB / 0.5585 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-06/0.1258, allocations: 0 / 0.5585 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1258, allocations: 0 / 0.5585 GB, free: 9.922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.486e-05/0.1259, allocations: 33.66 kB / 0.5585 GB, free: 9.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.1259, allocations: 7.938 kB / 0.5585 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1259, allocations: 7.984 kB / 0.5585 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1259, allocations: 0 / 0.5585 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.612e-05/0.126, allocations: 7.938 kB / 0.5585 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.1261, allocations: 153.5 kB / 0.5587 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.961e-05/0.1261, allocations: 26.59 kB / 0.5587 GB, free: 9.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.1262, allocations: 12.91 kB / 0.5587 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00059/0.1268, allocations: 461.5 kB / 0.5592 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.1268, allocations: 34.56 kB / 0.5592 GB, free: 9.023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/0.1268, allocations: 4 kB / 0.5592 GB, free: 9.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004003/0.1272, allocations: 254.3 kB / 0.5594 GB, free: 8.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.1272, allocations: 51.41 kB / 0.5595 GB, free: 8.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.483e-05/0.1273, allocations: 97.86 kB / 0.5596 GB, free: 8.551 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1273, allocations: 25.7 kB / 0.5596 GB, free: 8.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.275e-05/0.1273, allocations: 80.48 kB / 0.5597 GB, free: 8.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.1274, allocations: 15.8 kB / 0.5597 GB, free: 8.422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.1274, allocations: 4 kB / 0.5597 GB, free: 8.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.1275, allocations: 314.8 kB / 0.56 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.1275, allocations: 4 kB / 0.56 GB, free: 8.098 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.1275, allocations: 13.72 kB / 0.56 GB, free: 8.078 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.059e-05/0.1275, allocations: 8 kB / 0.56 GB, free: 8.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.1275, allocations: 0 / 0.56 GB, free: 8.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.215e-05/0.1276, allocations: 57.62 kB / 0.5601 GB, free: 8.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.1277, allocations: 4 kB / 0.5601 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1277, allocations: 4 kB / 0.5601 GB, free: 8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.1277, allocations: 3.953 kB / 0.5601 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.1277, allocations: 7.984 kB / 0.5601 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1277, allocations: 0 / 0.5601 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.1278, allocations: 4 kB / 0.5601 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.1278, allocations: 0 / 0.5601 GB, free: 7.984 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.367e-05/0.1278, allocations: 117.8 kB / 0.5602 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.1279, allocations: 4 kB / 0.5602 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.128, allocations: 53.12 kB / 0.5603 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.128, allocations: 11.94 kB / 0.5603 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.128, allocations: 0 / 0.5603 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.128, allocations: 0 / 0.5603 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.975e-05/0.1281, allocations: 157.7 kB / 0.5604 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1281, allocations: 3.938 kB / 0.5604 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.1281, allocations: 8 kB / 0.5604 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1282, allocations: 4 kB / 0.5604 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.1282, allocations: 0 / 0.5604 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1282, allocations: 0 / 0.5604 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1282, allocations: 3.953 kB / 0.5604 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.1283, allocations: 80.97 kB / 0.5605 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.1283, allocations: 85.12 kB / 0.5606 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.1284, allocations: 0 / 0.5606 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.155e-05/0.1284, allocations: 0 / 0.5606 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.1284, allocations: 8.062 kB / 0.5606 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.1284, allocations: 7.953 kB / 0.5606 GB, free: 7.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.608e-05/0.1285, allocations: 75.28 kB / 0.5607 GB, free: 7.266 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1285, allocations: 0 / 0.5607 GB, free: 7.266 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001934/0.1287, allocations: 27.98 kB / 0.5607 GB, free: 7.238 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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): 3 * 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.0004021/0.1291, allocations: 0.6369 MB / 0.5613 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.377e-05/0.1291, allocations: 20.03 kB / 0.5614 GB, free: 6.551 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1291, allocations: 0 / 0.5614 GB, free: 6.551 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.1292, allocations: 7.984 kB / 0.5614 GB, free: 6.543 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.1293, allocations: 8 kB / 0.5614 GB, free: 6.535 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.1297, allocations: 371.7 kB / 0.5617 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.1299, allocations: 0.6809 MB / 0.5624 GB, free: 5.418 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.679e-05/0.13, allocations: 4 kB / 0.5624 GB, free: 5.414 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.13, allocations: 11.44 kB / 0.5624 GB, free: 5.402 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.13, allocations: 0 / 0.5624 GB, free: 5.402 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009393/0.1394, allocations: 1.522 MB / 0.5639 GB, free: 4.086 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001375/0.1395, allocations: 217.1 kB / 0.5641 GB, free: 3.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.609, allocations: 0 / 0.5641 GB, free: 3.84 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: