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.0006574/0.0006575, allocations: 92.16 kB / 15.71 MB, free: 452 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.0007217/0.0007217, allocations: 175.6 kB / 16.58 MB, free: 6.859 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.185/1.185, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5995/0.5995, allocations: 113.7 MB / 405.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 12 kB / 493.2 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1208, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00078/0.1216, allocations: 494.1 kB / 0.5574 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1231, allocations: 1.401 MB / 0.5588 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.1231, allocations: 0 / 0.5588 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.1231, allocations: 3.938 kB / 0.5588 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.1232, allocations: 0 / 0.5588 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.1235, allocations: 111.7 kB / 0.5589 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.299e-05/0.1236, allocations: 47.88 kB / 0.5589 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.1236, allocations: 4 kB / 0.5589 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.1237, allocations: 23.92 kB / 0.5589 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.1238, allocations: 31.89 kB / 0.559 GB, free: 9.543 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1238, allocations: 8 kB / 0.559 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.1242, allocations: 303.4 kB / 0.5593 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.1242, allocations: 15.97 kB / 0.5593 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.1242, allocations: 37.64 kB / 0.5593 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1244, allocations: 152 kB / 0.5595 GB, free: 9.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1244, allocations: 0 / 0.5595 GB, free: 9.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1244, allocations: 0 / 0.5595 GB, free: 9.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.1244, allocations: 0 / 0.5595 GB, free: 9.031 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.0004774/0.1249, allocations: 391.2 kB / 0.5598 GB, free: 8.602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1249, allocations: 8.031 kB / 0.5598 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.125, allocations: 42.55 kB / 0.5599 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.1254, allocations: 83.81 kB / 0.56 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1255, allocations: 171 kB / 0.5601 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1255, allocations: 4 kB / 0.5601 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1255, allocations: 12 kB / 0.5601 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.1258, allocations: 120.8 kB / 0.5603 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1259, allocations: 4 kB / 0.5603 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1259, allocations: 0 / 0.5603 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1259, allocations: 0 / 0.5603 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004045/0.1263, allocations: 127.9 kB / 0.5604 GB, free: 7.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.1268, allocations: 344.6 kB / 0.5607 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.1273, allocations: 178.5 kB / 0.5609 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.1275, allocations: 72.8 kB / 0.561 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1275, allocations: 0 / 0.561 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.1276, allocations: 34.56 kB / 0.561 GB, free: 7.301 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.1276, allocations: 3.938 kB / 0.561 GB, free: 7.297 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.01456/0.1421, allocations: 3.189 MB / 0.5641 GB, free: 4.016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1422, allocations: 51.41 kB / 0.5642 GB, free: 3.953 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.1423, allocations: 105.8 kB / 0.5643 GB, free: 3.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.1423, allocations: 29.7 kB / 0.5643 GB, free: 3.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.1423, allocations: 84.08 kB / 0.5644 GB, free: 3.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.1424, allocations: 39.45 kB / 0.5644 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.449e-05/0.1425, allocations: 4 kB / 0.5644 GB, free: 3.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.1426, allocations: 318.8 kB / 0.5647 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005655/0.1431, allocations: 215.8 kB / 0.5649 GB, free: 3.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/0.1437, allocations: 215.8 kB / 0.5651 GB, free: 2.934 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005755/0.1443, allocations: 215.8 kB / 0.5653 GB, free: 2.723 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1443, allocations: 0 / 0.5653 GB, free: 2.723 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00131/0.1456, allocations: 0.5246 MB / 0.5658 GB, free: 2.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1456, allocations: 4 kB / 0.5658 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1456, allocations: 8 kB / 0.5658 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.1457, allocations: 96 / 0.5658 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.1463, allocations: 127.7 kB / 0.566 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1464, allocations: 3.938 kB / 0.566 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.1468, allocations: 55.94 kB / 0.566 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.1469, allocations: 31.88 kB / 0.5661 GB, free: 1.965 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.147, allocations: 113.8 kB / 0.5662 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.1471, allocations: 7.906 kB / 0.5662 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.1471, allocations: 15.95 kB / 0.5662 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1471, allocations: 4 kB / 0.5662 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1472, allocations: 4 kB / 0.5662 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1472, allocations: 0 / 0.5662 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.149, allocations: 1.094 MB / 0.5673 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1491, allocations: 0 / 0.5673 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/0.1498, allocations: 131.7 kB / 0.5674 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1498, allocations: 0 / 0.5674 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.1498, allocations: 23.94 kB / 0.5674 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1498, allocations: 3.953 kB / 0.5674 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1498, allocations: 0 / 0.5674 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.1518, allocations: 0.8619 MB / 0.5683 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.1519, allocations: 117 kB / 0.5684 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.152, allocations: 4 kB / 0.5684 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.1525, allocations: 60 kB / 0.5684 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.1526, allocations: 27.88 kB / 0.5685 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.1527, allocations: 31.92 kB / 0.5685 GB, free: 15.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.257e-05/0.1527, allocations: 83.28 kB / 0.5686 GB, free: 15.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1527, allocations: 3.938 kB / 0.5686 GB, free: 15.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003288/0.1531, allocations: 52 kB / 0.5686 GB, free: 15.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002274/0.1553, allocations: 1.412 MB / 0.57 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.1566, allocations: 471.5 kB / 0.5704 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1566, allocations: 4 kB / 0.5705 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006188/0.1572, allocations: 251.7 kB / 0.5707 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1575, allocations: 11.95 kB / 0.5707 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/0.163, allocations: 1.861 MB / 0.5725 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.1632, allocations: 0.6887 MB / 0.5732 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006422/0.1639, allocations: 92.66 kB / 0.5733 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.1641, allocations: 63.3 kB / 0.5733 GB, free: 10.24 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1641, allocations: 8 kB / 0.5733 GB, free: 10.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.1767, allocations: 4.144 MB / 0.5774 GB, free: 6.281 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/0.1768, allocations: 205.5 kB / 0.5776 GB, free: 6.035 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/1.763, allocations: 8 kB / 0.5776 GB, free: 6.027 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/linux/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) Environment - environmentSimulation: