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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001743/0.001743, allocations: 189.6 kB / 16.25 MB, free: 6.582 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.9969/0.9969, allocations: 143 MB / 433.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 59.91 kB / 0.5137 GB, free: 11.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.223, allocations: 82.04 MB / 0.5938 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002204/0.2252, allocations: 0.8365 MB / 0.5946 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.2274, allocations: 1.482 MB / 0.5961 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.2275, allocations: 0 / 0.5961 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.224e-05/0.2275, allocations: 3.938 kB / 0.5961 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.2276, allocations: 0 / 0.5961 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.228, allocations: 123.7 kB / 0.5962 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.2281, allocations: 47.95 kB / 0.5962 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.2282, allocations: 0 / 0.5962 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.951e-05/0.2283, allocations: 23.92 kB / 0.5962 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.2283, allocations: 39.83 kB / 0.5963 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2283, allocations: 4 kB / 0.5963 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003955/0.2287, allocations: 331.2 kB / 0.5966 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.2288, allocations: 7.984 kB / 0.5966 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.2288, allocations: 27.86 kB / 0.5966 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.2291, allocations: 207.5 kB / 0.5968 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2291, allocations: 8 kB / 0.5968 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2291, allocations: 0 / 0.5968 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.2292, allocations: 0 / 0.5968 GB, free: 6.707 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.0006781/0.2298, allocations: 399.6 kB / 0.5972 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2299, allocations: 8.625 kB / 0.5972 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004391/0.2303, allocations: 68.77 kB / 0.5973 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2305, allocations: 172.3 kB / 0.5975 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.2305, allocations: 4.375 kB / 0.5975 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.2305, allocations: 12.38 kB / 0.5975 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.2309, allocations: 113.9 kB / 0.5976 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2309, allocations: 0 / 0.5976 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.2309, allocations: 0 / 0.5976 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2309, allocations: 3.984 kB / 0.5976 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.2314, allocations: 107.9 kB / 0.5977 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.232, allocations: 344.5 kB / 0.598 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/0.2326, allocations: 146.5 kB / 0.5982 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.2328, allocations: 56.8 kB / 0.5982 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.2329, allocations: 8.156 kB / 0.5982 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.2329, allocations: 30.56 kB / 0.5983 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.2329, allocations: 3.938 kB / 0.5983 GB, free: 5.098 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.01954/0.2525, allocations: 2.83 MB / 0.601 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.2526, allocations: 67.28 kB / 0.6011 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.775e-05/0.2527, allocations: 93.86 kB / 0.6012 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.2527, allocations: 29.7 kB / 0.6012 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.2528, allocations: 95.97 kB / 0.6013 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.2529, allocations: 35.45 kB / 0.6013 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.2531, allocations: 73.58 kB / 0.6014 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2532, allocations: 314.8 kB / 0.6017 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/0.2539, allocations: 187.8 kB / 0.6019 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006535/0.2545, allocations: 198.5 kB / 0.6021 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.2559, allocations: 396.5 kB / 0.6024 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2559, allocations: 0 / 0.6024 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001565/0.2575, allocations: 477.3 kB / 0.6029 GB, free: 196 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2575, allocations: 4.094 kB / 0.6029 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.2575, allocations: 7.938 kB / 0.6029 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.2575, allocations: 4 kB / 0.6029 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/0.2584, allocations: 99.8 kB / 0.603 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2585, allocations: 3.938 kB / 0.603 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/0.2591, allocations: 51.94 kB / 0.6031 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/0.2592, allocations: 23.92 kB / 0.6031 GB, free: 0 / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2883/0.5475, allocations: 111.8 kB / 0.6032 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.5477, allocations: 6.938 kB / 0.6032 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.333e-05/0.5478, allocations: 14.25 kB / 0.6032 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.5478, allocations: 4.688 kB / 0.6032 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.5478, allocations: 0.75 kB / 0.6032 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5478, allocations: 0 / 0.6032 GB, free: 44.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.5501, allocations: 1.044 MB / 0.6042 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5501, allocations: 0 / 0.6042 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008462/0.5509, allocations: 113.2 kB / 0.6043 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5509, allocations: 0 / 0.6043 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.551, allocations: 26.64 kB / 0.6044 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.551, allocations: 0 / 0.6044 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.551, allocations: 0 / 0.6044 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.5531, allocations: 0.7943 MB / 0.6051 GB, free: 43.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.5532, allocations: 120.8 kB / 0.6053 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.5533, allocations: 8.062 kB / 0.6053 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006859/0.554, allocations: 46.36 kB / 0.6053 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5541, allocations: 32.31 kB / 0.6053 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.5542, allocations: 25.66 kB / 0.6054 GB, free: 43.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.5542, allocations: 78.81 kB / 0.6054 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5542, allocations: 0 / 0.6054 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003842/0.5546, allocations: 52.5 kB / 0.6055 GB, free: 43.5 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 (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.000216/0.5548, allocations: 115.8 kB / 0.6056 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.5561, allocations: 429.6 kB / 0.606 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5561, allocations: 0 / 0.606 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.5568, allocations: 222.2 kB / 0.6062 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.5572, allocations: 13.27 kB / 0.6062 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.5613, allocations: 0.786 MB / 0.607 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.5615, allocations: 0.6966 MB / 0.6077 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006725/0.5621, allocations: 88.84 kB / 0.6078 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.5624, allocations: 62.22 kB / 0.6078 GB, free: 42.46 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.5624, allocations: 1.875 kB / 0.6078 GB, free: 42.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.00616/0.5686, allocations: 3.459 MB / 0.6112 GB, free: 42.33 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)