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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.00565/0.00565, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001391/0.001391, allocations: 193.2 kB / 16.68 MB, free: 6.363 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.025/1.025, allocations: 143.3 MB / 433.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 0.5954 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3981, allocations: 82.02 MB / 0.6755 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001639/0.3998, allocations: 0.7846 MB / 0.6762 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.4017, allocations: 1.479 MB / 0.6777 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.4018, allocations: 9.188 kB / 0.6777 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.4018, allocations: 7.922 kB / 0.6777 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.4019, allocations: 3.938 kB / 0.6777 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.4024, allocations: 146.2 kB / 0.6778 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.296e-05/0.4025, allocations: 46.58 kB / 0.6779 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.4026, allocations: 3.531 kB / 0.6779 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/0.4027, allocations: 31.34 kB / 0.6779 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/0.4027, allocations: 33.95 kB / 0.6779 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.4027, allocations: 4.062 kB / 0.6779 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004656/0.4032, allocations: 318.2 kB / 0.6782 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.4032, allocations: 15.61 kB / 0.6783 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.4033, allocations: 21.48 kB / 0.6783 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.4036, allocations: 223.9 kB / 0.6785 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4036, allocations: 5.219 kB / 0.6785 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4036, allocations: 0 / 0.6785 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4037, allocations: 0 / 0.6785 GB, free: 14.59 MB / 0.5137 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.0007052/0.4044, allocations: 398.2 kB / 0.6789 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.4044, allocations: 8.969 kB / 0.6789 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.4045, allocations: 37.12 kB / 0.6789 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004245/0.4049, allocations: 74.17 kB / 0.679 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.405, allocations: 166.5 kB / 0.6791 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.4051, allocations: 10.61 kB / 0.6792 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.4051, allocations: 16.77 kB / 0.6792 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.4054, allocations: 110.2 kB / 0.6793 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4055, allocations: 1.438 kB / 0.6793 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4055, allocations: 0 / 0.6793 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4055, allocations: 1.438 kB / 0.6793 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.406, allocations: 107.5 kB / 0.6794 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.4065, allocations: 332.9 kB / 0.6797 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007333/0.4073, allocations: 156.2 kB / 0.6799 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.4075, allocations: 63.12 kB / 0.6799 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.4076, allocations: 5.359 kB / 0.6799 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.4076, allocations: 31.75 kB / 0.6799 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4076, allocations: 0 / 0.6799 GB, free: 13.28 MB / 0.5137 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.01766/0.4253, allocations: 2.828 MB / 0.6827 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.4254, allocations: 64.62 kB / 0.6828 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.4254, allocations: 99.62 kB / 0.6829 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.4255, allocations: 33.64 kB / 0.6829 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.4256, allocations: 85.8 kB / 0.683 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/0.4256, allocations: 44.14 kB / 0.683 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.4258, allocations: 65.61 kB / 0.6831 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.426, allocations: 324.1 kB / 0.6834 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.4266, allocations: 192.8 kB / 0.6836 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006866/0.4273, allocations: 194.5 kB / 0.6838 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.4287, allocations: 390.6 kB / 0.6841 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4287, allocations: 0 / 0.6841 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001583/0.4303, allocations: 476.2 kB / 0.6846 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4303, allocations: 11.03 kB / 0.6846 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4303, allocations: 1.156 kB / 0.6846 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4303, allocations: 7.984 kB / 0.6846 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008404/0.4312, allocations: 106.7 kB / 0.6847 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.4312, allocations: 4 kB / 0.6847 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/0.4318, allocations: 50.78 kB / 0.6848 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/0.4319, allocations: 21.53 kB / 0.6848 GB, free: 10.13 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.4321, allocations: 112.6 kB / 0.6849 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.4321, allocations: 4.531 kB / 0.6849 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.903e-05/0.4322, allocations: 23.94 kB / 0.6849 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4322, allocations: 5.281 kB / 0.6849 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4322, allocations: 1.469 kB / 0.6849 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.4322, allocations: 0 / 0.6849 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.4346, allocations: 1.051 MB / 0.6859 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4346, allocations: 1.406 kB / 0.686 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008207/0.4354, allocations: 112.1 kB / 0.6861 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4354, allocations: 1.375 kB / 0.6861 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/0.4355, allocations: 24.22 kB / 0.6861 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4355, allocations: 6.453 kB / 0.6861 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4355, allocations: 4 kB / 0.6861 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.438, allocations: 0.7889 MB / 0.6869 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.4381, allocations: 119.8 kB / 0.687 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.464e-05/0.4382, allocations: 5.406 kB / 0.687 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/0.4389, allocations: 42.66 kB / 0.687 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.439, allocations: 26.83 kB / 0.687 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.4391, allocations: 34.61 kB / 0.6871 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.4391, allocations: 78.81 kB / 0.6872 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4391, allocations: 0 / 0.6872 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003676/0.4395, allocations: 50.25 kB / 0.6872 GB, free: 8.246 MB / 0.5137 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 (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.002849/0.4423, allocations: 1.345 MB / 0.6885 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.4439, allocations: 429.7 kB / 0.6889 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4439, allocations: 0 / 0.6889 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007386/0.4446, allocations: 227.7 kB / 0.6891 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.445, allocations: 12.16 kB / 0.6892 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008795/0.4538, allocations: 2.938 MB / 0.692 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.4542, allocations: 0.6853 MB / 0.6927 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005296/0.4547, allocations: 96.66 kB / 0.6928 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.455, allocations: 63.3 kB / 0.6928 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of SimCode: time 2.204e-06/0.455, allocations: 0 / 0.6928 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2077/0.6627, allocations: 4.594 MB / 0.6973 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.885, allocations: 7.938 kB / 0.6973 GB, free: 15.3 MB / 0.5294 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/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)