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.004864/0.004864, allocations: 101.7 kB / 15.88 MB, free: 6.32 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.001265/0.001265, allocations: 198.3 kB / 16.79 MB, free: 6.246 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.279/1.279, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6857/0.6857, allocations: 115.3 MB / 405.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 72.58 kB / 493 MB, free: 6.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1348, allocations: 76.18 MB / 0.5559 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001513/0.1364, allocations: 0.6692 MB / 0.5565 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006505/0.137, allocations: 386.8 kB / 0.5569 GB, free: 9.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.365e-05/0.1371, allocations: 4 kB / 0.5569 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.1371, allocations: 0 / 0.5569 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.181e-05/0.1371, allocations: 0 / 0.5569 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.1374, allocations: 83.77 kB / 0.557 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.019e-05/0.1375, allocations: 19.98 kB / 0.557 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.1375, allocations: 4 kB / 0.557 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.1376, allocations: 7.938 kB / 0.557 GB, free: 9.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.235e-05/0.1376, allocations: 19.92 kB / 0.557 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1376, allocations: 4 kB / 0.557 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.1379, allocations: 275.6 kB / 0.5573 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.1379, allocations: 4 kB / 0.5573 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.138, allocations: 11.94 kB / 0.5573 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.1381, allocations: 107.8 kB / 0.5574 GB, free: 9.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1381, allocations: 0 / 0.5574 GB, free: 9.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1381, allocations: 0 / 0.5574 GB, free: 9.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.1382, allocations: 0 / 0.5574 GB, free: 9.113 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.0003438/0.1385, allocations: 359.7 kB / 0.5577 GB, free: 8.711 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1385, allocations: 16.03 kB / 0.5578 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.1386, allocations: 34.69 kB / 0.5578 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.1386, allocations: 4.938 kB / 0.5578 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.1387, allocations: 164.4 kB / 0.558 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1387, allocations: 4.375 kB / 0.558 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.1388, allocations: 384 / 0.558 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1389, allocations: 54.23 kB / 0.558 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1389, allocations: 7.844 kB / 0.558 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.1389, allocations: 3.938 kB / 0.558 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1389, allocations: 4 kB / 0.558 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.422e-05/0.1389, allocations: 23.92 kB / 0.558 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1391, allocations: 161.7 kB / 0.5582 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/0.1392, allocations: 58.56 kB / 0.5583 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.1392, allocations: 32.78 kB / 0.5583 GB, free: 8.039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006521/0.1399, allocations: 461.7 kB / 0.5587 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.1399, allocations: 30.56 kB / 0.5588 GB, free: 7.457 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1399, allocations: 0 / 0.5588 GB, free: 7.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001137/0.1411, allocations: 0.6019 MB / 0.5593 GB, free: 6.766 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.1411, allocations: 55.34 kB / 0.5594 GB, free: 6.699 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.168e-05/0.1412, allocations: 93.86 kB / 0.5595 GB, free: 6.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1412, allocations: 33.7 kB / 0.5595 GB, free: 6.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.1412, allocations: 80.14 kB / 0.5596 GB, free: 6.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.1413, allocations: 39.44 kB / 0.5596 GB, free: 6.438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.1413, allocations: 33.7 kB / 0.5597 GB, free: 6.398 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.1414, allocations: 314.8 kB / 0.56 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.1415, allocations: 23.98 kB / 0.56 GB, free: 6.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.1415, allocations: 27.98 kB / 0.56 GB, free: 6.031 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.109e-05/0.1416, allocations: 51.86 kB / 0.5601 GB, free: 5.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1416, allocations: 0 / 0.5601 GB, free: 5.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001412/0.1417, allocations: 97.53 kB / 0.5602 GB, free: 5.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1418, allocations: 7.984 kB / 0.5602 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1418, allocations: 7.938 kB / 0.5602 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.1418, allocations: 4 kB / 0.5602 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/0.1419, allocations: 16 kB / 0.5602 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1419, allocations: 0 / 0.5602 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.1419, allocations: 8 kB / 0.5602 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.1419, allocations: 3.984 kB / 0.5602 GB, free: 5.832 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.558e-05/0.142, allocations: 113.8 kB / 0.5603 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.142, allocations: 11.84 kB / 0.5603 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.1422, allocations: 101.5 kB / 0.5604 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1422, allocations: 8.094 kB / 0.5604 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1422, allocations: 3.938 kB / 0.5604 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1422, allocations: 3.984 kB / 0.5604 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.1426, allocations: 358.4 kB / 0.5608 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1426, allocations: 0 / 0.5608 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.1427, allocations: 16 kB / 0.5608 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1427, allocations: 0 / 0.5608 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.1427, allocations: 4 kB / 0.5608 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.1427, allocations: 7.984 kB / 0.5608 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1427, allocations: 4 kB / 0.5608 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.143, allocations: 215.4 kB / 0.561 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.143, allocations: 89.12 kB / 0.5611 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1431, allocations: 4 kB / 0.5611 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.1431, allocations: 7.938 kB / 0.5611 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.1432, allocations: 7.984 kB / 0.5611 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1432, allocations: 7.938 kB / 0.5611 GB, free: 4.781 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.877e-05/0.1432, allocations: 79.53 kB / 0.5612 GB, free: 4.703 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1432, allocations: 0 / 0.5612 GB, free: 4.703 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1435, allocations: 47.98 kB / 0.5612 GB, free: 4.656 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 (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.000565/0.144, allocations: 0.7821 MB / 0.562 GB, free: 3.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.1442, allocations: 67.84 kB / 0.5621 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1442, allocations: 4.062 kB / 0.5621 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.806e-05/0.1442, allocations: 35.92 kB / 0.5621 GB, free: 3.746 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.1445, allocations: 9.406 kB / 0.5621 GB, free: 3.738 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1456, allocations: 1.408 MB / 0.5635 GB, free: 2.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.1459, allocations: 0.6848 MB / 0.5642 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.852e-05/0.1459, allocations: 11.98 kB / 0.5642 GB, free: 1.535 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.146, allocations: 23.44 kB / 0.5642 GB, free: 1.512 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.146, allocations: 0 / 0.5642 GB, free: 1.512 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2341/0.3801, allocations: 2.318 MB / 0.5665 GB, free: 15.34 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003781/0.3805, allocations: 233.1 kB / 0.5667 GB, free: 15.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/2.602, allocations: 7.062 kB / 0.5667 GB, free: 15.08 MB / 446.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)