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.005079/0.005079, allocations: 101.2 kB / 15.88 MB, free: 6.312 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.00108/0.001081, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.269/1.269, 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.6768/0.6768, allocations: 115.3 MB / 406 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 65.78 kB / 493 MB, free: 6.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1244, allocations: 76.18 MB / 0.5559 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001815/0.1262, allocations: 0.8381 MB / 0.5567 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1279, allocations: 1.493 MB / 0.5581 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.128, allocations: 0 / 0.5581 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.128, allocations: 3.938 kB / 0.5581 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.786e-05/0.1281, allocations: 8 kB / 0.5581 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.1285, allocations: 111.7 kB / 0.5582 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.816e-05/0.1286, allocations: 47.95 kB / 0.5583 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.1286, allocations: 8 kB / 0.5583 GB, free: 8.164 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.308e-05/0.1287, allocations: 23.92 kB / 0.5583 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.1288, allocations: 39.77 kB / 0.5584 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1288, allocations: 4 kB / 0.5584 GB, free: 8.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.1292, allocations: 311.4 kB / 0.5587 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.1292, allocations: 15.97 kB / 0.5587 GB, free: 7.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.1293, allocations: 23.86 kB / 0.5587 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.1296, allocations: 207.8 kB / 0.5589 GB, free: 7.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1296, allocations: 0 / 0.5589 GB, free: 7.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1296, allocations: 4 kB / 0.5589 GB, free: 7.547 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.1296, allocations: 0 / 0.5589 GB, free: 7.547 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.000568/0.1302, allocations: 395.4 kB / 0.5593 GB, free: 7.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1302, allocations: 12.03 kB / 0.5593 GB, free: 7.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.1303, allocations: 38.73 kB / 0.5593 GB, free: 7.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004626/0.1307, allocations: 68.77 kB / 0.5594 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.1309, allocations: 176.3 kB / 0.5596 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.1309, allocations: 8.375 kB / 0.5596 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.1309, allocations: 8.312 kB / 0.5596 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.1313, allocations: 113.7 kB / 0.5597 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1313, allocations: 0 / 0.5597 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1313, allocations: 0 / 0.5597 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1313, allocations: 4 kB / 0.5597 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.1318, allocations: 99.89 kB / 0.5598 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.1324, allocations: 352.4 kB / 0.5601 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005979/0.133, allocations: 150.4 kB / 0.5603 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.1332, allocations: 56.81 kB / 0.5603 GB, free: 5.934 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.1332, allocations: 0 / 0.5603 GB, free: 5.934 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1333, allocations: 38.55 kB / 0.5604 GB, free: 5.887 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1333, allocations: 0 / 0.5604 GB, free: 5.887 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.0179/0.1512, allocations: 2.836 MB / 0.5631 GB, free: 2.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1512, allocations: 55.34 kB / 0.5632 GB, free: 2.891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.173e-05/0.1513, allocations: 97.95 kB / 0.5633 GB, free: 2.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.1513, allocations: 33.64 kB / 0.5633 GB, free: 2.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.1514, allocations: 95.97 kB / 0.5634 GB, free: 2.648 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/0.1515, allocations: 39.39 kB / 0.5634 GB, free: 2.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.1516, allocations: 69.58 kB / 0.5635 GB, free: 2.535 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.1517, allocations: 314.8 kB / 0.5638 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006159/0.1524, allocations: 195.8 kB / 0.564 GB, free: 2.027 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.153, allocations: 191.8 kB / 0.5642 GB, free: 1.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.1542, allocations: 391.7 kB / 0.5645 GB, free: 1.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1542, allocations: 0 / 0.5645 GB, free: 1.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001427/0.1557, allocations: 477.1 kB / 0.565 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1557, allocations: 6.188 kB / 0.565 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1557, allocations: 8 kB / 0.565 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1557, allocations: 0 / 0.565 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008089/0.1565, allocations: 107.7 kB / 0.5651 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1566, allocations: 0 / 0.5651 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.1572, allocations: 51.94 kB / 0.5652 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.1572, allocations: 23.94 kB / 0.5652 GB, free: 0.793 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 0.0001275/0.1573, allocations: 117.8 kB / 0.5653 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.1574, allocations: 7.906 kB / 0.5653 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.1575, allocations: 12.16 kB / 0.5653 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.1575, allocations: 15.92 kB / 0.5653 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1575, allocations: 0 / 0.5653 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1575, allocations: 0 / 0.5653 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.1595, allocations: 1.052 MB / 0.5664 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1595, allocations: 0 / 0.5664 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.1603, allocations: 115.7 kB / 0.5665 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1603, allocations: 0 / 0.5665 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/0.1604, allocations: 19.94 kB / 0.5665 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1604, allocations: 0 / 0.5665 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1604, allocations: 0 / 0.5665 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.1626, allocations: 0.7993 MB / 0.5673 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.1627, allocations: 120.9 kB / 0.5674 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.1628, allocations: 4.062 kB / 0.5674 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006593/0.1634, allocations: 51.92 kB / 0.5674 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.1635, allocations: 19.94 kB / 0.5675 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/0.1636, allocations: 27.92 kB / 0.5675 GB, free: 14.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.1636, allocations: 87.28 kB / 0.5676 GB, free: 14.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.1636, allocations: 0 / 0.5676 GB, free: 14.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.164, allocations: 55.94 kB / 0.5676 GB, free: 14.14 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.002425/0.1664, allocations: 1.333 MB / 0.5689 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.1677, allocations: 427.5 kB / 0.5693 GB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1678, allocations: 8 kB / 0.5693 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006685/0.1684, allocations: 223.7 kB / 0.5695 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1688, allocations: 11.55 kB / 0.5696 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007848/0.1766, allocations: 2.952 MB / 0.5724 GB, free: 9.105 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.1768, allocations: 0.6926 MB / 0.5731 GB, free: 8.387 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006416/0.1775, allocations: 92.66 kB / 0.5732 GB, free: 8.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.1778, allocations: 63.3 kB / 0.5733 GB, free: 8.234 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1778, allocations: 0 / 0.5733 GB, free: 8.234 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4265/0.6042, allocations: 4.282 MB / 0.5774 GB, free: 4.09 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.6045, allocations: 225.7 kB / 0.5777 GB, free: 3.828 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.547, allocations: 0 / 0.5777 GB, free: 3.828 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)