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.001682/0.001682, allocations: 109 kB / 20.48 MB, free: 1.473 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.002052/0.002052, allocations: 208.6 kB / 23.79 MB, free: 4.684 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.527/1.527, allocations: 230.6 MB / 257.6 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.9798/0.9798, allocations: 150 MB / 464 MB, free: 10.52 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.002011/0.002011, allocations: 65.3 kB / 0.6421 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.206, allocations: 89.18 MB / 0.7292 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002335/0.2084, allocations: 0.7922 MB / 0.7299 GB, free: 460 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.2107, allocations: 1.536 MB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.2108, allocations: 0 / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.2108, allocations: 3.938 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.2109, allocations: 3.938 kB / 0.7314 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.2114, allocations: 150 kB / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2115, allocations: 47.91 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.2116, allocations: 3.984 kB / 0.7316 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.2117, allocations: 31.91 kB / 0.7317 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.26e-05/0.2118, allocations: 31.91 kB / 0.7317 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2118, allocations: 4 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.2123, allocations: 323.3 kB / 0.732 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.2123, allocations: 15.92 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.497e-05/0.2123, allocations: 27.86 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.2127, allocations: 211.7 kB / 0.7322 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2127, allocations: 0 / 0.7322 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2127, allocations: 3.938 kB / 0.7323 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.2127, allocations: 0 / 0.7323 GB, free: 14.05 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.0007364/0.2135, allocations: 325.8 kB / 0.7326 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2135, allocations: 8.031 kB / 0.7326 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.973e-05/0.2135, allocations: 8.125 kB / 0.7326 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.579e-05/0.2136, allocations: 38.73 kB / 0.7326 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004683/0.214, allocations: 76.8 kB / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2142, allocations: 110.5 kB / 0.7328 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.2142, allocations: 16.31 kB / 0.7328 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.2142, allocations: 8.328 kB / 0.7328 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.2146, allocations: 113.5 kB / 0.7329 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2147, allocations: 0 / 0.7329 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2147, allocations: 8 kB / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2147, allocations: 3.984 kB / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005031/0.2152, allocations: 103.9 kB / 0.733 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.2159, allocations: 303.7 kB / 0.7333 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/0.2165, allocations: 150.4 kB / 0.7335 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.2168, allocations: 56.81 kB / 0.7335 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.2168, allocations: 0 / 0.7335 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.2169, allocations: 34.56 kB / 0.7336 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.2169, allocations: 4 kB / 0.7336 GB, free: 12.58 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.0184/0.2353, allocations: 2.684 MB / 0.7362 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.2353, allocations: 55.41 kB / 0.7362 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.059e-05/0.2354, allocations: 101.8 kB / 0.7363 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.2355, allocations: 25.7 kB / 0.7364 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.2355, allocations: 96.03 kB / 0.7364 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/0.2356, allocations: 43.64 kB / 0.7365 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.2358, allocations: 69.58 kB / 0.7366 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2359, allocations: 318.8 kB / 0.7369 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000704/0.2366, allocations: 191.8 kB / 0.737 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006935/0.2373, allocations: 191.8 kB / 0.7372 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.2387, allocations: 391.7 kB / 0.7376 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2387, allocations: 0 / 0.7376 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001643/0.2404, allocations: 481.2 kB / 0.7381 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.2404, allocations: 8 kB / 0.7381 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2404, allocations: 4.312 kB / 0.7381 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.2404, allocations: 7.875 kB / 0.7381 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008366/0.2413, allocations: 103.8 kB / 0.7382 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2413, allocations: 4 kB / 0.7382 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.2419, allocations: 47.94 kB / 0.7382 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.2419, allocations: 27.92 kB / 0.7383 GB, free: 7.664 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.0002311/0.2422, allocations: 117.9 kB / 0.7384 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.2423, allocations: 7.938 kB / 0.7384 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.057e-05/0.2423, allocations: 16.05 kB / 0.7384 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.2423, allocations: 7.938 kB / 0.7384 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2423, allocations: 0 / 0.7384 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2423, allocations: 0 / 0.7384 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.2447, allocations: 1.018 MB / 0.7394 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2448, allocations: 7.875 kB / 0.7394 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008213/0.2456, allocations: 107.7 kB / 0.7395 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2456, allocations: 0 / 0.7395 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/0.2456, allocations: 27.92 kB / 0.7395 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2456, allocations: 0 / 0.7395 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2456, allocations: 4 kB / 0.7395 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.2482, allocations: 0.7911 MB / 0.7403 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.2483, allocations: 43.86 kB / 0.7403 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/0.2484, allocations: 0 / 0.7403 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.249, allocations: 52 kB / 0.7404 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.2491, allocations: 23.92 kB / 0.7404 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.655e-05/0.2492, allocations: 28.11 kB / 0.7404 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.2493, allocations: 87.27 kB / 0.7405 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2493, allocations: 3.938 kB / 0.7405 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004017/0.2497, allocations: 55.88 kB / 0.7406 GB, free: 5.145 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.002896/0.2526, allocations: 1.337 MB / 0.7419 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.2541, allocations: 427.5 kB / 0.7423 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2541, allocations: 0 / 0.7423 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000763/0.2549, allocations: 223.7 kB / 0.7425 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.2553, allocations: 8 kB / 0.7425 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009252/0.2646, allocations: 2.941 MB / 0.7454 GB, free: 120 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.2649, allocations: 0.6962 MB / 0.7461 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005159/0.2654, allocations: 92.66 kB / 0.7462 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.2657, allocations: 63.3 kB / 0.7462 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of SimCode: time 1.683e-06/0.2657, allocations: 0 / 0.7462 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.2938, allocations: 4.811 MB / 0.7509 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.72, allocations: 8.062 kB / 0.7509 GB, free: 10.57 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: 15.98441225202987] Failed to read output from testmodel.py, exit status != 0: 11.889299342990853 12.220217522 12.004605412 Calling exit ...