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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.008388/0.008388, allocations: 102.2 kB / 15.73 MB, free: 6.469 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.002155/0.002154, allocations: 193.9 kB / 16.67 MB, free: 6.379 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.9951/0.9951, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 0.5951 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4051, allocations: 82.03 MB / 0.6752 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001882/0.407, allocations: 0.7793 MB / 0.676 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.4091, allocations: 1.47 MB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.4092, allocations: 1.188 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.4092, allocations: 7.875 kB / 0.6774 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.679e-05/0.4093, allocations: 7.938 kB / 0.6774 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.41, allocations: 142.2 kB / 0.6776 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.4101, allocations: 51.12 kB / 0.6776 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.4102, allocations: 7.344 kB / 0.6776 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.4103, allocations: 31.27 kB / 0.6776 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.4104, allocations: 33.52 kB / 0.6777 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.4104, allocations: 3.688 kB / 0.6777 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/0.411, allocations: 319.8 kB / 0.678 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.411, allocations: 14.38 kB / 0.678 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.4111, allocations: 26.33 kB / 0.678 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.4115, allocations: 213.8 kB / 0.6782 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4115, allocations: 0 / 0.6782 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4115, allocations: 0 / 0.6782 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4115, allocations: 0 / 0.6782 GB, free: 14.82 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.0006687/0.4122, allocations: 402.4 kB / 0.6786 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4122, allocations: 10.09 kB / 0.6786 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.4123, allocations: 36.25 kB / 0.6787 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000443/0.4127, allocations: 74.06 kB / 0.6787 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.4129, allocations: 170.4 kB / 0.6789 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.4129, allocations: 7.344 kB / 0.6789 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.4129, allocations: 4.562 kB / 0.6789 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.4133, allocations: 122.4 kB / 0.679 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4133, allocations: 0 / 0.679 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.4133, allocations: 1.469 kB / 0.679 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4133, allocations: 1.031 kB / 0.679 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.4138, allocations: 103.3 kB / 0.6791 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.4144, allocations: 341 kB / 0.6794 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.415, allocations: 152.8 kB / 0.6796 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.4152, allocations: 57.62 kB / 0.6796 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.4153, allocations: 5.281 kB / 0.6796 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.4153, allocations: 35.59 kB / 0.6797 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.4153, allocations: 0 / 0.6797 GB, free: 13.51 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.01818/0.4335, allocations: 2.824 MB / 0.6824 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.4336, allocations: 60.72 kB / 0.6825 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.4337, allocations: 103.3 kB / 0.6826 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.4337, allocations: 31.17 kB / 0.6826 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.4338, allocations: 93.3 kB / 0.6827 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.4339, allocations: 40.94 kB / 0.6828 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.434, allocations: 68.7 kB / 0.6828 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4342, allocations: 320.2 kB / 0.6831 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006144/0.4348, allocations: 193.4 kB / 0.6833 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.4354, allocations: 197.5 kB / 0.6835 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.4367, allocations: 388.4 kB / 0.6839 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4367, allocations: 9.312 kB / 0.6839 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00149/0.4382, allocations: 468.7 kB / 0.6843 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4382, allocations: 4.875 kB / 0.6843 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4382, allocations: 4.312 kB / 0.6843 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4383, allocations: 1.562 kB / 0.6843 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009108/0.4392, allocations: 108.7 kB / 0.6844 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4392, allocations: 5.391 kB / 0.6844 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.4398, allocations: 49.53 kB / 0.6845 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/0.4399, allocations: 27.05 kB / 0.6845 GB, free: 10.37 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.0001798/0.4401, allocations: 116.7 kB / 0.6846 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/0.4402, allocations: 10.83 kB / 0.6846 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.212e-05/0.4402, allocations: 13.25 kB / 0.6847 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4403, allocations: 5.344 kB / 0.6847 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.4403, allocations: 7.984 kB / 0.6847 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4403, allocations: 1.219 kB / 0.6847 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.4425, allocations: 1.04 MB / 0.6857 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4425, allocations: 0 / 0.6857 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008184/0.4433, allocations: 112.4 kB / 0.6858 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4434, allocations: 1.531 kB / 0.6858 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.4434, allocations: 24.11 kB / 0.6858 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4434, allocations: 1.375 kB / 0.6858 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.4434, allocations: 0 / 0.6858 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.4457, allocations: 0.7938 MB / 0.6866 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.4459, allocations: 124.4 kB / 0.6867 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.446, allocations: 5.125 kB / 0.6867 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006966/0.4467, allocations: 47.25 kB / 0.6868 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.4468, allocations: 29.55 kB / 0.6868 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.4468, allocations: 22.16 kB / 0.6868 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.4469, allocations: 87.27 kB / 0.6869 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4469, allocations: 4 kB / 0.6869 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004003/0.4473, allocations: 55.09 kB / 0.6869 GB, free: 8.473 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.002665/0.45, allocations: 1.344 MB / 0.6883 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.4514, allocations: 419.9 kB / 0.6887 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4514, allocations: 3.938 kB / 0.6887 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007503/0.4522, allocations: 230 kB / 0.6889 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.4526, allocations: 13.3 kB / 0.6889 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008963/0.4616, allocations: 2.941 MB / 0.6918 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.462, allocations: 0.6931 MB / 0.6924 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005023/0.4625, allocations: 92.66 kB / 0.6925 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.4628, allocations: 63.3 kB / 0.6926 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.4628, allocations: 0 / 0.6926 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.4853, allocations: 4.692 MB / 0.6972 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.982, allocations: 15.31 kB / 0.6972 GB, free: 15.46 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)