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.001737/0.001737, allocations: 103.5 kB / 16.4 MB, free: 6.488 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.002054/0.002054, allocations: 199.8 kB / 17.34 MB, free: 5.762 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.347/1.347, 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.7695/0.7695, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.83 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1575, allocations: 76.18 MB / 0.6316 GB, free: 4.84 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001683/0.1592, allocations: 0.5844 MB / 0.6322 GB, free: 4.258 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000731/0.16, allocations: 343.1 kB / 0.6325 GB, free: 3.922 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.16, allocations: 0 / 0.6325 GB, free: 3.922 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.1601, allocations: 3.938 kB / 0.6325 GB, free: 3.918 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.083e-05/0.1602, allocations: 4 kB / 0.6325 GB, free: 3.914 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.1607, allocations: 119.6 kB / 0.6326 GB, free: 3.797 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.278e-05/0.1607, allocations: 11.88 kB / 0.6327 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.1608, allocations: 3.984 kB / 0.6327 GB, free: 3.781 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.949e-05/0.1608, allocations: 7.984 kB / 0.6327 GB, free: 3.773 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.1609, allocations: 4 kB / 0.6327 GB, free: 3.77 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1609, allocations: 4 kB / 0.6327 GB, free: 3.766 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003831/0.1613, allocations: 271.6 kB / 0.6329 GB, free: 3.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.1613, allocations: 8 kB / 0.6329 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.1613, allocations: 3.938 kB / 0.633 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1615, allocations: 91.84 kB / 0.633 GB, free: 3.398 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1615, allocations: 4 kB / 0.633 GB, free: 3.395 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1615, allocations: 0 / 0.633 GB, free: 3.395 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1615, allocations: 0 / 0.633 GB, free: 3.395 MB / 478.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.0003805/0.1619, allocations: 347.5 kB / 0.6334 GB, free: 3.004 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.162, allocations: 8.031 kB / 0.6334 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.162, allocations: 30.75 kB / 0.6334 GB, free: 2.957 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.1621, allocations: 4.938 kB / 0.6334 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1622, allocations: 168.9 kB / 0.6336 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1622, allocations: 384 / 0.6336 GB, free: 2.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1622, allocations: 4.375 kB / 0.6336 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.153e-05/0.1623, allocations: 34.25 kB / 0.6336 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1624, allocations: 3.938 kB / 0.6336 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1624, allocations: 7.938 kB / 0.6336 GB, free: 2.695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1624, allocations: 0 / 0.6336 GB, free: 2.695 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.919e-05/0.1624, allocations: 0 / 0.6336 GB, free: 2.695 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.1626, allocations: 160.5 kB / 0.6338 GB, free: 2.492 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.803e-05/0.1626, allocations: 18.61 kB / 0.6338 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.1626, allocations: 12.92 kB / 0.6338 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007265/0.1634, allocations: 461.4 kB / 0.6342 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.1634, allocations: 34.56 kB / 0.6343 GB, free: 1.863 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1634, allocations: 0 / 0.6343 GB, free: 1.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005119/0.164, allocations: 254.3 kB / 0.6345 GB, free: 1.562 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.164, allocations: 55.62 kB / 0.6346 GB, free: 1.496 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.1641, allocations: 97.84 kB / 0.6347 GB, free: 1.391 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1641, allocations: 25.7 kB / 0.6347 GB, free: 1.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.1642, allocations: 84.14 kB / 0.6348 GB, free: 1.273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.1642, allocations: 11.81 kB / 0.6348 GB, free: 1.262 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.1642, allocations: 17.72 kB / 0.6348 GB, free: 1.238 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.1643, allocations: 310.8 kB / 0.6351 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.1644, allocations: 7.984 kB / 0.6351 GB, free: 0.918 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/0.1644, allocations: 21.84 kB / 0.6351 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.1645, allocations: 25.66 kB / 0.6352 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1645, allocations: 0 / 0.6352 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001009/0.1646, allocations: 53.62 kB / 0.6352 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1646, allocations: 11.94 kB / 0.6352 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1646, allocations: 3.938 kB / 0.6352 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1646, allocations: 4.062 kB / 0.6352 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.1647, allocations: 8 kB / 0.6352 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1647, allocations: 0 / 0.6352 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.1647, allocations: 7.984 kB / 0.6352 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1648, allocations: 3.938 kB / 0.6352 GB, free: 0.7617 MB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.1648, allocations: 113.8 kB / 0.6353 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.1649, allocations: 3.938 kB / 0.6354 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.165, allocations: 53.47 kB / 0.6354 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.165, allocations: 4 kB / 0.6354 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.165, allocations: 0 / 0.6354 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.165, allocations: 0 / 0.6354 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.1651, allocations: 157.7 kB / 0.6356 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1651, allocations: 0 / 0.6356 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.1652, allocations: 7.984 kB / 0.6356 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1652, allocations: 3.938 kB / 0.6356 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1652, allocations: 0 / 0.6356 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1652, allocations: 3.938 kB / 0.6356 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1652, allocations: 4 kB / 0.6356 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.1654, allocations: 81.03 kB / 0.6357 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.1654, allocations: 81.05 kB / 0.6357 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.1655, allocations: 0 / 0.6357 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.1655, allocations: 8.016 kB / 0.6357 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.1655, allocations: 0 / 0.6357 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.1655, allocations: 0 / 0.6357 GB, free: 148 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.295e-05/0.1656, allocations: 87.34 kB / 0.6358 GB, free: 60 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1656, allocations: 0 / 0.6358 GB, free: 60 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.1658, allocations: 24 kB / 0.6358 GB, free: 36 kB / 478.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 (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.0004831/0.1663, allocations: 0.6399 MB / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.553e-05/0.1664, allocations: 16 kB / 0.6365 GB, free: 15.35 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1664, allocations: 4.281 kB / 0.6365 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.006e-05/0.1664, allocations: 15.91 kB / 0.6365 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.1666, allocations: 7.938 kB / 0.6365 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/0.1676, allocations: 1.143 MB / 0.6376 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1678, allocations: 0.6768 MB / 0.6383 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.318e-05/0.1679, allocations: 8 kB / 0.6383 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.1679, allocations: 11.44 kB / 0.6383 GB, free: 13.36 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1679, allocations: 0 / 0.6383 GB, free: 13.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.1879, allocations: 1.735 MB / 0.64 GB, free: 11.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/7.823, allocations: 18.25 kB / 0.64 GB, free: 11.76 MB / 494.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/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)