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.001686/0.001686, allocations: 107.3 kB / 16.4 MB, free: 6.496 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.002583/0.002583, allocations: 193.2 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 2.318/2.318, 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.8249/0.8249, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.66 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1466, allocations: 76.18 MB / 0.6316 GB, free: 4.844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002874/0.1495, allocations: 0.583 MB / 0.6322 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009465/0.1505, allocations: 347.1 kB / 0.6325 GB, free: 3.926 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.1506, allocations: 0 / 0.6325 GB, free: 3.926 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.1506, allocations: 3.938 kB / 0.6325 GB, free: 3.922 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.904e-05/0.1507, allocations: 3.938 kB / 0.6325 GB, free: 3.918 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008144/0.1515, allocations: 111.6 kB / 0.6326 GB, free: 3.809 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.1516, allocations: 15.92 kB / 0.6327 GB, free: 3.793 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.002e-05/0.1517, allocations: 4 kB / 0.6327 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.1517, allocations: 4 kB / 0.6327 GB, free: 3.785 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.1518, allocations: 7.984 kB / 0.6327 GB, free: 3.777 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1518, allocations: 0 / 0.6327 GB, free: 3.777 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.1523, allocations: 275.6 kB / 0.6329 GB, free: 3.508 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.1523, allocations: 3.984 kB / 0.6329 GB, free: 3.504 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.1523, allocations: 7.938 kB / 0.633 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.1526, allocations: 91.84 kB / 0.633 GB, free: 3.406 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1526, allocations: 0 / 0.633 GB, free: 3.406 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1526, allocations: 0 / 0.633 GB, free: 3.406 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1526, allocations: 0 / 0.633 GB, free: 3.406 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.0004351/0.153, allocations: 347.5 kB / 0.6334 GB, free: 3.016 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.1531, allocations: 16.02 kB / 0.6334 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.1531, allocations: 30.75 kB / 0.6334 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.1532, allocations: 0.9375 kB / 0.6334 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.1534, allocations: 167.1 kB / 0.6336 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1534, allocations: 4.375 kB / 0.6336 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.1534, allocations: 4.375 kB / 0.6336 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1535, allocations: 38.23 kB / 0.6336 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1535, allocations: 7.938 kB / 0.6336 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1536, allocations: 0 / 0.6336 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1536, allocations: 0 / 0.6336 GB, free: 2.703 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.474e-05/0.1536, allocations: 7.938 kB / 0.6336 GB, free: 2.695 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.1538, allocations: 153.7 kB / 0.6338 GB, free: 2.496 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.171e-05/0.1538, allocations: 18.61 kB / 0.6338 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.1539, allocations: 12.92 kB / 0.6338 GB, free: 2.453 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008038/0.1547, allocations: 457.5 kB / 0.6342 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.1547, allocations: 30.56 kB / 0.6343 GB, free: 1.875 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.1548, allocations: 4 kB / 0.6343 GB, free: 1.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007554/0.1555, allocations: 254.3 kB / 0.6345 GB, free: 1.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.1556, allocations: 51.41 kB / 0.6346 GB, free: 1.508 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1557, allocations: 97.8 kB / 0.6347 GB, free: 1.402 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1557, allocations: 25.7 kB / 0.6347 GB, free: 1.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.1558, allocations: 84.14 kB / 0.6348 GB, free: 1.285 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1558, allocations: 12.7 kB / 0.6348 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1559, allocations: 21.72 kB / 0.6348 GB, free: 1.246 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1561, allocations: 314.8 kB / 0.6351 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.1561, allocations: 0 / 0.6351 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.311e-05/0.1562, allocations: 29.64 kB / 0.6351 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.955e-05/0.1563, allocations: 21.72 kB / 0.6352 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1563, allocations: 0 / 0.6352 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001518/0.1564, allocations: 57.62 kB / 0.6352 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.1565, allocations: 7.938 kB / 0.6352 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.1565, allocations: 7.938 kB / 0.6352 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1565, allocations: 0 / 0.6352 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.1566, allocations: 4 kB / 0.6352 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1566, allocations: 4 kB / 0.6352 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.1566, allocations: 0 / 0.6352 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1566, allocations: 0 / 0.6352 GB, free: 0.7812 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 0.0001313/0.1568, allocations: 125.8 kB / 0.6353 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.1568, allocations: 3.938 kB / 0.6354 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.157, allocations: 49.47 kB / 0.6354 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.157, allocations: 0 / 0.6354 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.157, allocations: 0 / 0.6354 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.157, allocations: 4 kB / 0.6354 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1572, allocations: 157.7 kB / 0.6356 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1572, allocations: 4 kB / 0.6356 GB, free: 384 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.1573, allocations: 4 kB / 0.6356 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1573, allocations: 7.938 kB / 0.6356 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1573, allocations: 3.984 kB / 0.6356 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1573, allocations: 0 / 0.6356 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1573, allocations: 0 / 0.6356 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.1575, allocations: 85.19 kB / 0.6357 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.1576, allocations: 85.08 kB / 0.6357 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1576, allocations: 0 / 0.6357 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.1576, allocations: 0 / 0.6357 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.1576, allocations: 12.05 kB / 0.6357 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1577, allocations: 0 / 0.6357 GB, free: 148 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.864e-05/0.1577, allocations: 79.28 kB / 0.6358 GB, free: 68 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1577, allocations: 0 / 0.6358 GB, free: 68 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.158, allocations: 24 kB / 0.6358 GB, free: 44 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.0005604/0.1585, allocations: 0.6398 MB / 0.6365 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.1586, allocations: 19.98 kB / 0.6365 GB, free: 15.35 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1587, allocations: 0 / 0.6365 GB, free: 15.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.961e-05/0.1587, allocations: 11.94 kB / 0.6365 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.1588, allocations: 0 / 0.6365 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1601, allocations: 1.147 MB / 0.6376 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.1604, allocations: 0.6807 MB / 0.6383 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.381e-05/0.1605, allocations: 0 / 0.6383 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.1605, allocations: 19.42 kB / 0.6383 GB, free: 13.38 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1605, allocations: 0 / 0.6383 GB, free: 13.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1838/0.3444, allocations: 1.74 MB / 0.64 GB, free: 11.78 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.02, allocations: 0.5 kB / 0.64 GB, free: 11.78 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)