Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_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.0007448/0.0007448, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.0008072/0.0008073, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9835/0.9835, allocations: 143.4 MB / 434.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003782, allocations: 12.22 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1662, allocations: 83.41 MB / 0.5976 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001064/0.1673, allocations: 488.1 kB / 0.598 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1691, allocations: 1.412 MB / 0.5994 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.1692, allocations: 0 / 0.5994 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.1692, allocations: 3.938 kB / 0.5994 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.386e-05/0.1692, allocations: 0 / 0.5994 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.1697, allocations: 115.7 kB / 0.5995 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.406e-05/0.1698, allocations: 39.91 kB / 0.5996 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.1698, allocations: 4 kB / 0.5996 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.1699, allocations: 31.91 kB / 0.5996 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.17, allocations: 27.84 kB / 0.5996 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.17, allocations: 4 kB / 0.5996 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004291/0.1704, allocations: 315.4 kB / 0.5999 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.1705, allocations: 11.98 kB / 0.5999 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.1705, allocations: 33.64 kB / 0.6 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1707, allocations: 148.1 kB / 0.6001 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1707, allocations: 0 / 0.6001 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1707, allocations: 0 / 0.6001 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.1708, allocations: 0 / 0.6001 GB, free: 5.07 MB / 0.4981 GB 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.0005848/0.1713, allocations: 395.2 kB / 0.6005 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1714, allocations: 8.031 kB / 0.6005 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.1714, allocations: 34.56 kB / 0.6005 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004081/0.1719, allocations: 87.81 kB / 0.6006 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.172, allocations: 174.9 kB / 0.6008 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.172, allocations: 8 kB / 0.6008 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.172, allocations: 8 kB / 0.6008 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.1724, allocations: 109.6 kB / 0.6009 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1724, allocations: 15.94 kB / 0.6009 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1724, allocations: 0 / 0.6009 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1724, allocations: 0 / 0.6009 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.1729, allocations: 127.9 kB / 0.601 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.1735, allocations: 344.5 kB / 0.6014 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.1741, allocations: 186.4 kB / 0.6015 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.1743, allocations: 68.81 kB / 0.6016 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.1743, allocations: 0 / 0.6016 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1744, allocations: 42.52 kB / 0.6016 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.1744, allocations: 0 / 0.6016 GB, free: 3.32 MB / 0.4981 GB 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.01559/0.19, allocations: 3.174 MB / 0.6047 GB, free: 52 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2854/0.4754, allocations: 55.41 kB / 0.6048 GB, free: 41.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.4755, allocations: 96.27 kB / 0.6049 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/0.4756, allocations: 28.67 kB / 0.6049 GB, free: 41.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.4756, allocations: 89.23 kB / 0.605 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.4757, allocations: 41.8 kB / 0.605 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.4757, allocations: 2.812 kB / 0.605 GB, free: 41.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.4758, allocations: 317.3 kB / 0.6054 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.4764, allocations: 217 kB / 0.6056 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.477, allocations: 222.8 kB / 0.6058 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.4776, allocations: 220.6 kB / 0.606 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4776, allocations: 0 / 0.606 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001298/0.4789, allocations: 0.5166 MB / 0.6065 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4789, allocations: 6.766 kB / 0.6065 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4789, allocations: 0 / 0.6065 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.479, allocations: 3.094 kB / 0.6065 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.4797, allocations: 115.9 kB / 0.6066 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4797, allocations: 4.141 kB / 0.6066 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.4802, allocations: 62.19 kB / 0.6067 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.4802, allocations: 24.89 kB / 0.6067 GB, free: 40.83 MB / 0.4981 GB 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.0001092/0.4804, allocations: 120.8 kB / 0.6068 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.4804, allocations: 7.906 kB / 0.6068 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.4805, allocations: 10.78 kB / 0.6068 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.4805, allocations: 5.219 kB / 0.6068 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4805, allocations: 0 / 0.6068 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4805, allocations: 0 / 0.6068 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.4823, allocations: 1.1 MB / 0.6079 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4823, allocations: 3.625 kB / 0.6079 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006756/0.483, allocations: 115.5 kB / 0.608 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.483, allocations: 5.953 kB / 0.608 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.483, allocations: 26.09 kB / 0.608 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.483, allocations: 0 / 0.608 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.483, allocations: 0 / 0.608 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.4849, allocations: 0.8766 MB / 0.6089 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4851, allocations: 114.7 kB / 0.609 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.4851, allocations: 0 / 0.609 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.4857, allocations: 62.66 kB / 0.6091 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.4858, allocations: 29.7 kB / 0.6091 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.4858, allocations: 23.12 kB / 0.6091 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.4859, allocations: 86.27 kB / 0.6092 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4859, allocations: 0 / 0.6092 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003807/0.4863, allocations: 50.66 kB / 0.6093 GB, free: 39.83 MB / 0.4981 GB 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.002244/0.4885, allocations: 1.428 MB / 0.6106 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.4897, allocations: 469.1 kB / 0.6111 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4898, allocations: 0 / 0.6111 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005864/0.4903, allocations: 253.1 kB / 0.6113 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.4907, allocations: 6.875 kB / 0.6113 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005605/0.4963, allocations: 1.872 MB / 0.6132 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.4965, allocations: 0.6909 MB / 0.6138 GB, free: 37.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006698/0.4971, allocations: 94.52 kB / 0.6139 GB, free: 37.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.4974, allocations: 64.27 kB / 0.614 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.4974, allocations: 0.6562 kB / 0.614 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.5114, allocations: 4.182 MB / 0.6181 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.5116, allocations: 217.4 kB / 0.6183 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.282, allocations: 4 kB / 0.6183 GB, free: 37.45 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: