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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 117.8 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003027/0.003027, allocations: 224.5 kB / 23.01 MB, free: 5.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9702/0.9702, allocations: 150 MB / 463.2 MB, free: 10.55 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 66.22 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1935, allocations: 89.17 MB / 0.7284 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002286/0.1958, allocations: 0.7885 MB / 0.7292 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.1982, allocations: 1.54 MB / 0.7307 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.1982, allocations: 0 / 0.7307 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.483e-05/0.1982, allocations: 3.938 kB / 0.7307 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.1983, allocations: 3.938 kB / 0.7307 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.1989, allocations: 147.4 kB / 0.7308 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.199, allocations: 51.84 kB / 0.7309 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.1991, allocations: 4 kB / 0.7309 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.1991, allocations: 31.86 kB / 0.7309 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.1992, allocations: 39.88 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1992, allocations: 4 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.1997, allocations: 319.4 kB / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.1997, allocations: 19.92 kB / 0.7313 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.1998, allocations: 19.88 kB / 0.7313 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.2001, allocations: 211.7 kB / 0.7315 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2001, allocations: 0 / 0.7315 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2001, allocations: 0 / 0.7315 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.2001, allocations: 3.938 kB / 0.7315 GB, free: 14.1 MB / 0.5606 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.0006427/0.2008, allocations: 329.8 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2008, allocations: 12.03 kB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.2009, allocations: 34.75 kB / 0.7318 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005396/0.2014, allocations: 72.8 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.2015, allocations: 114.4 kB / 0.732 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.2016, allocations: 8.375 kB / 0.732 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.2016, allocations: 8.328 kB / 0.732 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.2021, allocations: 117.7 kB / 0.7322 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2021, allocations: 0 / 0.7322 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.2021, allocations: 0 / 0.7322 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2021, allocations: 4 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006651/0.2028, allocations: 107.9 kB / 0.7323 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.2036, allocations: 299.8 kB / 0.7325 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008622/0.2044, allocations: 146.5 kB / 0.7327 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003457/0.2048, allocations: 56.8 kB / 0.7327 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.2048, allocations: 8.141 kB / 0.7328 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.2049, allocations: 42.5 kB / 0.7328 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.2049, allocations: 0 / 0.7328 GB, free: 12.63 MB / 0.5606 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.02225/0.2271, allocations: 2.68 MB / 0.7354 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.2272, allocations: 59.34 kB / 0.7355 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2273, allocations: 97.86 kB / 0.7356 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.2273, allocations: 29.7 kB / 0.7356 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.2274, allocations: 100 kB / 0.7357 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.2275, allocations: 39.64 kB / 0.7357 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.2277, allocations: 69.58 kB / 0.7358 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2278, allocations: 314.8 kB / 0.7361 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006758/0.2285, allocations: 187.9 kB / 0.7363 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/0.2292, allocations: 199.7 kB / 0.7365 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.2306, allocations: 399.8 kB / 0.7368 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2306, allocations: 0 / 0.7368 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001585/0.2322, allocations: 481.3 kB / 0.7373 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.2322, allocations: 6.812 kB / 0.7373 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2322, allocations: 0 / 0.7373 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.2322, allocations: 4 kB / 0.7373 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/0.2331, allocations: 107.7 kB / 0.7374 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2331, allocations: 4.953 kB / 0.7374 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/0.2337, allocations: 47.94 kB / 0.7375 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/0.2338, allocations: 27.92 kB / 0.7375 GB, free: 7.715 MB / 0.5606 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.0001811/0.2339, allocations: 119.8 kB / 0.7376 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.234, allocations: 4 kB / 0.7376 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.2341, allocations: 12.06 kB / 0.7376 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.2341, allocations: 3.938 kB / 0.7376 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.2341, allocations: 8 kB / 0.7376 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2341, allocations: 0 / 0.7376 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.2365, allocations: 1.028 MB / 0.7386 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2366, allocations: 0 / 0.7386 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/0.2374, allocations: 111.7 kB / 0.7387 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2374, allocations: 3.938 kB / 0.7387 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.2374, allocations: 19.94 kB / 0.7388 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2374, allocations: 0 / 0.7388 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2374, allocations: 0 / 0.7388 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.2398, allocations: 0.7918 MB / 0.7395 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.24, allocations: 43.81 kB / 0.7396 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/0.24, allocations: 0 / 0.7396 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.2407, allocations: 52 kB / 0.7396 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.2408, allocations: 27.91 kB / 0.7397 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/0.2409, allocations: 23.94 kB / 0.7397 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.97e-05/0.241, allocations: 83.28 kB / 0.7398 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.241, allocations: 0 / 0.7398 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004009/0.2414, allocations: 47.94 kB / 0.7398 GB, free: 5.215 MB / 0.5606 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.002959/0.2443, allocations: 1.359 MB / 0.7411 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.2458, allocations: 419.5 kB / 0.7415 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2458, allocations: 0 / 0.7415 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007275/0.2465, allocations: 219.7 kB / 0.7417 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.2469, allocations: 15.94 kB / 0.7418 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009067/0.256, allocations: 2.935 MB / 0.7446 GB, free: 180 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.2565, allocations: 0.6924 MB / 0.7453 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005556/0.257, allocations: 85.09 kB / 0.7454 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.2573, allocations: 63.3 kB / 0.7454 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of SimCode: time 1.834e-06/0.2573, allocations: 4 kB / 0.7454 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.2926, allocations: 4.788 MB / 0.7501 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.74, allocations: 4.062 kB / 0.7501 GB, free: 10.66 MB / 0.5762 GB " [Timeout remaining time 648] (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/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.910020567011088] Failed to read output from testmodel.py, exit status != 0: 11.850403474178165 12.180335660999999 11.977057743 Calling exit ...