Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_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.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_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.0007696/0.0007696, allocations: 95.77 kB / 16.02 MB, free: 76 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.0008838/0.0008837, allocations: 180.9 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7274/0.7274, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003656, allocations: 12.75 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.147, allocations: 77.53 MB / 0.5601 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.000887/0.148, allocations: 499.3 kB / 0.5605 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1499, allocations: 1.474 MB / 0.562 GB, free: 6.949 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.15, allocations: 4 kB / 0.562 GB, free: 6.945 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.15, allocations: 7.922 kB / 0.562 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.167e-05/0.15, allocations: 0 / 0.562 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.1506, allocations: 119.3 kB / 0.5621 GB, free: 6.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.03e-05/0.1507, allocations: 47.97 kB / 0.5622 GB, free: 6.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.476e-05/0.1507, allocations: 11.92 kB / 0.5622 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.789e-05/0.1508, allocations: 23.91 kB / 0.5622 GB, free: 6.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.1509, allocations: 31.91 kB / 0.5622 GB, free: 6.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1509, allocations: 4 kB / 0.5622 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.1514, allocations: 319.3 kB / 0.5625 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.1514, allocations: 11.98 kB / 0.5625 GB, free: 6.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.1514, allocations: 45.56 kB / 0.5626 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.1518, allocations: 211.8 kB / 0.5628 GB, free: 6.125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1518, allocations: 0 / 0.5628 GB, free: 6.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1518, allocations: 4 kB / 0.5628 GB, free: 6.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1518, allocations: 0 / 0.5628 GB, free: 6.121 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006428/0.1525, allocations: 391.4 kB / 0.5632 GB, free: 5.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1525, allocations: 8.031 kB / 0.5632 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.1525, allocations: 38.75 kB / 0.5632 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004813/0.153, allocations: 88.75 kB / 0.5633 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.1532, allocations: 168.3 kB / 0.5634 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.1532, allocations: 12.36 kB / 0.5635 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.1532, allocations: 8.375 kB / 0.5635 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.1536, allocations: 121.7 kB / 0.5636 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1537, allocations: 0 / 0.5636 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1537, allocations: 0 / 0.5636 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1537, allocations: 4 kB / 0.5636 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005533/0.1543, allocations: 131.8 kB / 0.5637 GB, free: 5.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.155, allocations: 348.5 kB / 0.564 GB, free: 4.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.1557, allocations: 182.4 kB / 0.5642 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.156, allocations: 64.81 kB / 0.5643 GB, free: 4.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.156, allocations: 4 kB / 0.5643 GB, free: 4.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.156, allocations: 30.56 kB / 0.5643 GB, free: 4.383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.156, allocations: 3.938 kB / 0.5643 GB, free: 4.379 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.0195/0.1755, allocations: 3.184 MB / 0.5674 GB, free: 1.102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1756, allocations: 55.34 kB / 0.5675 GB, free: 1.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.645e-05/0.1757, allocations: 101.8 kB / 0.5676 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.1757, allocations: 33.7 kB / 0.5676 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.1758, allocations: 88.08 kB / 0.5677 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.1759, allocations: 47.34 kB / 0.5677 GB, free: 0.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-05/0.1759, allocations: 13.72 kB / 0.5678 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.176, allocations: 318.8 kB / 0.5681 GB, free: 420 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006987/0.1768, allocations: 223.9 kB / 0.5683 GB, free: 196 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.1775, allocations: 215.9 kB / 0.5685 GB, free: 15.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.1789, allocations: 443.9 kB / 0.5689 GB, free: 15.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1789, allocations: 0 / 0.5689 GB, free: 15.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00157/0.1805, allocations: 0.5128 MB / 0.5694 GB, free: 15.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1805, allocations: 8 kB / 0.5694 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1805, allocations: 3.938 kB / 0.5694 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1805, allocations: 0 / 0.5694 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008402/0.1814, allocations: 123.7 kB / 0.5695 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1814, allocations: 400 / 0.5695 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/0.1821, allocations: 63.94 kB / 0.5696 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.1821, allocations: 23.92 kB / 0.5696 GB, free: 14.8 MB / 446.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 0.0001562/0.1823, allocations: 121.8 kB / 0.5697 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.1824, allocations: 7.906 kB / 0.5697 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.1824, allocations: 11.97 kB / 0.5697 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1824, allocations: 3.938 kB / 0.5698 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1825, allocations: 4 kB / 0.5698 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1825, allocations: 0 / 0.5698 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.1848, allocations: 1.097 MB / 0.5708 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1848, allocations: 0 / 0.5708 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000847/0.1857, allocations: 123.7 kB / 0.5709 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.1857, allocations: 4 kB / 0.5709 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.1857, allocations: 28.02 kB / 0.571 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1857, allocations: 3.938 kB / 0.571 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1857, allocations: 0 / 0.571 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.1882, allocations: 0.8621 MB / 0.5718 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1884, allocations: 125 kB / 0.5719 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.1885, allocations: 7.984 kB / 0.5719 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/0.1892, allocations: 59.94 kB / 0.572 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.1893, allocations: 31.8 kB / 0.572 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/0.1894, allocations: 27.94 kB / 0.5721 GB, free: 12.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.978e-05/0.1894, allocations: 83.27 kB / 0.5721 GB, free: 12.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1894, allocations: 0 / 0.5721 GB, free: 12.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004124/0.1898, allocations: 52 kB / 0.5722 GB, free: 12 MB / 446.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.00284/0.1927, allocations: 1.407 MB / 0.5736 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.1943, allocations: 482.4 kB / 0.574 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1943, allocations: 0 / 0.574 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007445/0.195, allocations: 255.7 kB / 0.5743 GB, free: 9.855 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1954, allocations: 12 kB / 0.5743 GB, free: 9.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008755/0.2041, allocations: 3.167 MB / 0.5774 GB, free: 6.598 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.2044, allocations: 0.6926 MB / 0.578 GB, free: 5.879 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006593/0.2051, allocations: 92.66 kB / 0.5781 GB, free: 5.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.2054, allocations: 63.3 kB / 0.5782 GB, free: 5.727 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2054, allocations: 0 / 0.5782 GB, free: 5.727 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2526/0.4579, allocations: 4.221 MB / 0.5823 GB, free: 1.68 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.4582, allocations: 234.3 kB / 0.5825 GB, free: 1.414 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.352/2.81, allocations: 0 / 0.5825 GB, free: 1.414 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)