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.001109/0.001109, allocations: 103.1 kB / 16.4 MB, free: 6.48 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.001204/0.001204, allocations: 189.2 kB / 17.34 MB, free: 5.742 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7515/0.7515, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 66.97 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.138, allocations: 76.18 MB / 0.6316 GB, free: 4.832 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001635/0.1397, allocations: 0.6078 MB / 0.6322 GB, free: 4.227 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006831/0.1404, allocations: 355 kB / 0.6326 GB, free: 3.879 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.1405, allocations: 0 / 0.6326 GB, free: 3.879 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.1405, allocations: 3.938 kB / 0.6326 GB, free: 3.875 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.571e-05/0.1405, allocations: 0 / 0.6326 GB, free: 3.875 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.141, allocations: 126.3 kB / 0.6327 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.43e-05/0.1411, allocations: 19.98 kB / 0.6327 GB, free: 3.734 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.1412, allocations: 8 kB / 0.6327 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.1412, allocations: 15.92 kB / 0.6327 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.1413, allocations: 11.92 kB / 0.6327 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.1413, allocations: 0 / 0.6327 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.1417, allocations: 275.6 kB / 0.633 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.1418, allocations: 8 kB / 0.633 GB, free: 3.422 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.1418, allocations: 19.92 kB / 0.633 GB, free: 3.402 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.142, allocations: 99.77 kB / 0.6331 GB, free: 3.305 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.142, allocations: 0 / 0.6331 GB, free: 3.305 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.142, allocations: 0 / 0.6331 GB, free: 3.305 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.142, allocations: 0 / 0.6331 GB, free: 3.305 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004452/0.1425, allocations: 362.3 kB / 0.6335 GB, free: 2.902 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1425, allocations: 12.03 kB / 0.6335 GB, free: 2.891 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.1426, allocations: 30.75 kB / 0.6335 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.1427, allocations: 4.938 kB / 0.6335 GB, free: 2.848 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1428, allocations: 168.3 kB / 0.6337 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1428, allocations: 4.375 kB / 0.6337 GB, free: 2.641 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1428, allocations: 4.375 kB / 0.6337 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1429, allocations: 50.23 kB / 0.6337 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.143, allocations: 11.84 kB / 0.6337 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.143, allocations: 4 kB / 0.6338 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.143, allocations: 4 kB / 0.6338 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.1431, allocations: 19.92 kB / 0.6338 GB, free: 2.543 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.1433, allocations: 166.5 kB / 0.6339 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1434, allocations: 66.42 kB / 0.634 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.1434, allocations: 24.86 kB / 0.634 GB, free: 2.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006689/0.1441, allocations: 465.5 kB / 0.6345 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1441, allocations: 30.56 kB / 0.6345 GB, free: 1.645 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1441, allocations: 4 kB / 0.6345 GB, free: 1.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001209/0.1453, allocations: 0.5879 MB / 0.6351 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1454, allocations: 55.34 kB / 0.6351 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.196e-05/0.1455, allocations: 101.8 kB / 0.6352 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1455, allocations: 29.7 kB / 0.6352 GB, free: 0.75 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.1455, allocations: 88.14 kB / 0.6353 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.1456, allocations: 35.45 kB / 0.6354 GB, free: 0.625 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.1456, allocations: 29.72 kB / 0.6354 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.919e-05/0.1457, allocations: 314.8 kB / 0.6357 GB, free: 280 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.1458, allocations: 20 kB / 0.6357 GB, free: 260 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.1458, allocations: 27.92 kB / 0.6357 GB, free: 232 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/0.1459, allocations: 52.86 kB / 0.6358 GB, free: 176 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1459, allocations: 3.984 kB / 0.6358 GB, free: 172 kB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001478/0.1461, allocations: 104.7 kB / 0.6359 GB, free: 64 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1461, allocations: 9.406 kB / 0.6359 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1461, allocations: 0 / 0.6359 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1461, allocations: 0 / 0.6359 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1462, allocations: 23.92 kB / 0.6359 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1462, allocations: 4 kB / 0.6359 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.1463, allocations: 0 / 0.6359 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.1463, allocations: 4 kB / 0.6359 GB, free: 24 kB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.535e-05/0.1464, allocations: 113.8 kB / 0.636 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.1464, allocations: 15.84 kB / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.1466, allocations: 117.5 kB / 0.6362 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1466, allocations: 4 kB / 0.6362 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1466, allocations: 0 / 0.6362 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1467, allocations: 0 / 0.6362 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.147, allocations: 350.5 kB / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.147, allocations: 0 / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.1472, allocations: 27.92 kB / 0.6365 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1472, allocations: 0 / 0.6365 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1472, allocations: 8 kB / 0.6365 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1472, allocations: 3.938 kB / 0.6365 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1472, allocations: 0 / 0.6365 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.1475, allocations: 219.4 kB / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.1475, allocations: 81.09 kB / 0.6368 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1475, allocations: 12.03 kB / 0.6368 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.1476, allocations: 3.984 kB / 0.6368 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.1476, allocations: 4 kB / 0.6369 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.1477, allocations: 12.06 kB / 0.6369 GB, free: 14.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.464e-05/0.1477, allocations: 83.44 kB / 0.6369 GB, free: 14.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1477, allocations: 0 / 0.6369 GB, free: 14.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.148, allocations: 44 kB / 0.637 GB, free: 14.83 MB / 494.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 (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.0006016/0.1486, allocations: 0.7865 MB / 0.6378 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1487, allocations: 68.47 kB / 0.6378 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1488, allocations: 0 / 0.6378 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/0.1488, allocations: 39.92 kB / 0.6379 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.149, allocations: 224 / 0.6379 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.1503, allocations: 1.405 MB / 0.6392 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.1506, allocations: 0.6845 MB / 0.6399 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.893e-05/0.1507, allocations: 15.98 kB / 0.6399 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.1507, allocations: 17.94 kB / 0.6399 GB, free: 11.69 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1507, allocations: 3.938 kB / 0.6399 GB, free: 11.69 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.1703, allocations: 2.492 MB / 0.6424 GB, free: 9.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/7.768, allocations: 13.98 kB / 0.6424 GB, free: 9.328 MB / 494.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/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)