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.001476/0.001476, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002152/0.002152, allocations: 215.7 kB / 23.78 MB, free: 4.555 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.9856/0.9856, allocations: 150 MB / 463.9 MB, free: 10.2 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="cs",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="cs",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.001979/0.001979, allocations: 66.62 kB / 0.642 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1888, allocations: 89.17 MB / 0.7291 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002699/0.1915, allocations: 0.7701 MB / 0.7298 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002515/0.194, allocations: 1.451 MB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.1941, allocations: 0 / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.1941, allocations: 3.938 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.1942, allocations: 0 / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.1948, allocations: 147.5 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1949, allocations: 51.89 kB / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.195, allocations: 0 / 0.7314 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.956e-05/0.1951, allocations: 27.92 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.1952, allocations: 43.81 kB / 0.7315 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1952, allocations: 8 kB / 0.7315 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000469/0.1956, allocations: 259.5 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.1957, allocations: 11.98 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.1957, allocations: 23.86 kB / 0.7318 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.1961, allocations: 203.7 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1961, allocations: 0 / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1961, allocations: 0 / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1961, allocations: 3.938 kB / 0.732 GB, free: 13.74 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.0007135/0.1968, allocations: 321.8 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1969, allocations: 12.03 kB / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.595e-05/0.1969, allocations: 4.188 kB / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.1969, allocations: 38.73 kB / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/0.1974, allocations: 72.81 kB / 0.7324 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1975, allocations: 110.5 kB / 0.7325 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.1975, allocations: 8.375 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1976, allocations: 16.31 kB / 0.7326 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.198, allocations: 168 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.198, allocations: 3.938 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1981, allocations: 4 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1981, allocations: 0 / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004967/0.1986, allocations: 103.9 kB / 0.7328 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006689/0.1992, allocations: 291.8 kB / 0.7331 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.2003, allocations: 158.4 kB / 0.7333 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.2007, allocations: 56.81 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.2008, allocations: 7.938 kB / 0.7333 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.2008, allocations: 34.56 kB / 0.7333 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.2008, allocations: 3.938 kB / 0.7334 GB, free: 12.21 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.02342/0.2242, allocations: 2.682 MB / 0.736 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.2243, allocations: 55.41 kB / 0.736 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.2244, allocations: 109.8 kB / 0.7361 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.2245, allocations: 25.7 kB / 0.7362 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.2245, allocations: 92.03 kB / 0.7362 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.785e-05/0.2246, allocations: 43.62 kB / 0.7363 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.2248, allocations: 69.58 kB / 0.7363 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.225, allocations: 322.8 kB / 0.7367 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000719/0.2257, allocations: 187.8 kB / 0.7368 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006929/0.2264, allocations: 199.8 kB / 0.737 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.2278, allocations: 388.5 kB / 0.7374 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2278, allocations: 0 / 0.7374 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001646/0.2295, allocations: 484.9 kB / 0.7379 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.2295, allocations: 4 kB / 0.7379 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2295, allocations: 0 / 0.7379 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.2295, allocations: 7.875 kB / 0.7379 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.2304, allocations: 111.8 kB / 0.738 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2304, allocations: 0 / 0.738 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006517/0.2311, allocations: 47.94 kB / 0.738 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.2312, allocations: 23.94 kB / 0.738 GB, free: 7.293 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.0001856/0.2314, allocations: 115.8 kB / 0.7382 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.2314, allocations: 4 kB / 0.7382 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.2315, allocations: 16.05 kB / 0.7382 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.2315, allocations: 7.938 kB / 0.7382 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2315, allocations: 0 / 0.7382 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2315, allocations: 0 / 0.7382 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.2339, allocations: 0.9889 MB / 0.7391 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2339, allocations: 3.938 kB / 0.7392 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008742/0.2348, allocations: 103.8 kB / 0.7393 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.2348, allocations: 4 kB / 0.7393 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.396e-05/0.2349, allocations: 23.92 kB / 0.7393 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2349, allocations: 0 / 0.7393 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.2349, allocations: 4.125 kB / 0.7393 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.2374, allocations: 0.784 MB / 0.74 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.2375, allocations: 51.91 kB / 0.7401 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.2376, allocations: 7.938 kB / 0.7401 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/0.2383, allocations: 44.03 kB / 0.7401 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2384, allocations: 31.86 kB / 0.7402 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/0.2385, allocations: 31.92 kB / 0.7402 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.64e-05/0.2385, allocations: 83.28 kB / 0.7403 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2385, allocations: 0 / 0.7403 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004104/0.2389, allocations: 55.94 kB / 0.7403 GB, free: 4.812 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.002856/0.2418, allocations: 1.346 MB / 0.7417 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.2433, allocations: 419.5 kB / 0.7421 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.2433, allocations: 0 / 0.7421 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007527/0.2441, allocations: 219.7 kB / 0.7423 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.2445, allocations: 18.19 kB / 0.7423 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.2571, allocations: 2.93 MB / 0.7451 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.2572, allocations: 79.27 kB / 0.7452 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008378/0.258, allocations: 92.66 kB / 0.7453 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/0.2584, allocations: 67.3 kB / 0.7454 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of SimCode: time 1.393e-06/0.2584, allocations: 4 kB / 0.7454 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04199/0.3004, allocations: 4.952 MB / 0.7502 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.02, allocations: 10.25 kB / 0.7502 GB, free: 10.74 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 sys.exit(0), Time elapsed: 16.233187873964198] Failed to read output from testmodel.py, exit status != 0: 12.18589362502098 12.51313336 12.314079979 Calling exit ...