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.0008942/0.0008942, allocations: 98.89 kB / 16.02 MB, free: 80 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.001156/0.001156, allocations: 183.8 kB / 16.92 MB, free: 6.754 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6773/0.6773, allocations: 115.5 MB / 407.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002992, allocations: 12 kB / 496 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 77.53 MB / 0.5601 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006063/0.1284, allocations: 318.4 kB / 0.5604 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006582/0.1291, allocations: 366.9 kB / 0.5607 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.155e-05/0.1291, allocations: 3.938 kB / 0.5607 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.1291, allocations: 0 / 0.5607 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.598e-05/0.1292, allocations: 0 / 0.5607 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.1295, allocations: 75.84 kB / 0.5608 GB, free: 8.152 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.576e-05/0.1295, allocations: 7.938 kB / 0.5608 GB, free: 8.145 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.1296, allocations: 7.984 kB / 0.5608 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.651e-05/0.1296, allocations: 4 kB / 0.5608 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.1296, allocations: 7.938 kB / 0.5608 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1297, allocations: 0 / 0.5608 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003436/0.13, allocations: 275.6 kB / 0.5611 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.128e-06/0.13, allocations: 0 / 0.5611 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.1301, allocations: 37.62 kB / 0.5611 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.1302, allocations: 87.86 kB / 0.5612 GB, free: 7.727 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1302, allocations: 4 kB / 0.5612 GB, free: 7.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1302, allocations: 3.984 kB / 0.5612 GB, free: 7.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.1303, allocations: 3.938 kB / 0.5612 GB, free: 7.715 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.0002827/0.1305, allocations: 337.7 kB / 0.5615 GB, free: 7.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1306, allocations: 8.031 kB / 0.5615 GB, free: 7.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.1306, allocations: 34.69 kB / 0.5616 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.1307, allocations: 4.938 kB / 0.5616 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.564e-05/0.1308, allocations: 164.6 kB / 0.5617 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.1308, allocations: 4.375 kB / 0.5617 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.1308, allocations: 4.375 kB / 0.5617 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.85e-05/0.1309, allocations: 38.25 kB / 0.5618 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1309, allocations: 3.938 kB / 0.5618 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1309, allocations: 3.984 kB / 0.5618 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1309, allocations: 0 / 0.5618 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.131, allocations: 7.938 kB / 0.5618 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.1311, allocations: 153.6 kB / 0.5619 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.864e-05/0.1312, allocations: 26.61 kB / 0.562 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.1312, allocations: 4.859 kB / 0.562 GB, free: 6.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006596/0.1318, allocations: 469.5 kB / 0.5624 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.1319, allocations: 30.56 kB / 0.5624 GB, free: 6.184 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1319, allocations: 0 / 0.5624 GB, free: 6.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004372/0.1323, allocations: 246.3 kB / 0.5627 GB, free: 5.891 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1324, allocations: 55.41 kB / 0.5627 GB, free: 5.824 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.9e-05/0.1324, allocations: 98.08 kB / 0.5628 GB, free: 5.719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1324, allocations: 25.7 kB / 0.5629 GB, free: 5.688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.1325, allocations: 84.12 kB / 0.5629 GB, free: 5.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.1325, allocations: 15.81 kB / 0.5629 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.1325, allocations: 9.719 kB / 0.563 GB, free: 5.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.1326, allocations: 314.8 kB / 0.5633 GB, free: 5.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.1327, allocations: 8 kB / 0.5633 GB, free: 5.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.587e-05/0.1327, allocations: 25.83 kB / 0.5633 GB, free: 5.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.1327, allocations: 21.72 kB / 0.5633 GB, free: 5.188 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.1327, allocations: 0 / 0.5633 GB, free: 5.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.079e-05/0.1328, allocations: 53.62 kB / 0.5634 GB, free: 5.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1329, allocations: 7.938 kB / 0.5634 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1329, allocations: 0 / 0.5634 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1329, allocations: 7.938 kB / 0.5634 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.014e-05/0.1329, allocations: 8.062 kB / 0.5634 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1329, allocations: 0 / 0.5634 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.133, allocations: 11.94 kB / 0.5634 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.133, allocations: 0 / 0.5634 GB, free: 5.094 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/0.133, allocations: 105.8 kB / 0.5635 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.1331, allocations: 11.92 kB / 0.5635 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.1332, allocations: 61.12 kB / 0.5636 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1332, allocations: 4 kB / 0.5636 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1332, allocations: 0 / 0.5636 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.1332, allocations: 0 / 0.5636 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.601e-05/0.1333, allocations: 153.7 kB / 0.5637 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1333, allocations: 0 / 0.5637 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.1334, allocations: 8 kB / 0.5637 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1334, allocations: 3.938 kB / 0.5637 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.1334, allocations: 7.984 kB / 0.5637 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1334, allocations: 0 / 0.5637 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1334, allocations: 0 / 0.5637 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.1335, allocations: 80.97 kB / 0.5638 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.1336, allocations: 85.31 kB / 0.5639 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.1336, allocations: 4 kB / 0.5639 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.1336, allocations: 0 / 0.5639 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.1337, allocations: 7.969 kB / 0.5639 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1337, allocations: 4 kB / 0.5639 GB, free: 4.465 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.297e-05/0.1337, allocations: 75.28 kB / 0.564 GB, free: 4.391 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1337, allocations: 160 / 0.564 GB, free: 4.391 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001962/0.1339, allocations: 24 kB / 0.564 GB, free: 4.367 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 (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.0004199/0.1343, allocations: 0.6397 MB / 0.5646 GB, free: 3.695 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.458e-05/0.1344, allocations: 15.98 kB / 0.5646 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1344, allocations: 0 / 0.5646 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.1345, allocations: 16.19 kB / 0.5647 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.1346, allocations: 0 / 0.5647 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.1354, allocations: 1.134 MB / 0.5658 GB, free: 2.445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.1356, allocations: 0.6809 MB / 0.5664 GB, free: 1.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.805e-05/0.1356, allocations: 7.984 kB / 0.5664 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.1357, allocations: 15.44 kB / 0.5665 GB, free: 1.715 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1357, allocations: 3.938 kB / 0.5665 GB, free: 1.711 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.232/0.3677, allocations: 1.536 MB / 0.568 GB, free: 380 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/0.3681, allocations: 219.6 kB / 0.5682 GB, free: 124 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/2.41, allocations: 0 / 0.5682 GB, free: 124 kB / 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/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)