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.001299/0.001299, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.00154/0.00154, allocations: 215.9 kB / 23 MB, free: 4.969 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.9814/0.9814, allocations: 149.9 MB / 463 MB, free: 10.4 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.002115/0.002115, allocations: 68.69 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.185, allocations: 89.17 MB / 0.7282 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002552/0.1875, allocations: 0.7748 MB / 0.729 GB, free: 252 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00266/0.1902, allocations: 1.455 MB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.1902, allocations: 4 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.102e-05/0.1903, allocations: 3.938 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.1903, allocations: 3.938 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.191, allocations: 147.4 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.1911, allocations: 43.91 kB / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.938e-05/0.1912, allocations: 8 kB / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.1913, allocations: 27.86 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.1914, allocations: 31.83 kB / 0.7306 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1914, allocations: 8 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.1919, allocations: 251.5 kB / 0.7309 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.1919, allocations: 15.98 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.192, allocations: 23.86 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.1924, allocations: 199.7 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.1924, allocations: 7.938 kB / 0.7311 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1924, allocations: 0 / 0.7311 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1924, allocations: 0 / 0.7311 GB, free: 14.01 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.0007543/0.1931, allocations: 321.8 kB / 0.7314 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1932, allocations: 8.031 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.1932, allocations: 42.75 kB / 0.7315 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004862/0.1937, allocations: 72.8 kB / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1939, allocations: 114.4 kB / 0.7317 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.1939, allocations: 4.375 kB / 0.7317 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.1939, allocations: 12.33 kB / 0.7317 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.1944, allocations: 165.1 kB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1944, allocations: 0 / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1944, allocations: 4 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1944, allocations: 0 / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.1949, allocations: 107.9 kB / 0.7319 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.1956, allocations: 287.8 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.1962, allocations: 150.4 kB / 0.7324 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.1965, allocations: 56.97 kB / 0.7324 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1965, allocations: 7.984 kB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1965, allocations: 38.5 kB / 0.7325 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1965, allocations: 0 / 0.7325 GB, free: 12.5 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.01837/0.2149, allocations: 2.686 MB / 0.7351 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.2149, allocations: 59.34 kB / 0.7351 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.215, allocations: 105.8 kB / 0.7352 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.2151, allocations: 25.7 kB / 0.7353 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.2152, allocations: 96.08 kB / 0.7353 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.391e-05/0.2152, allocations: 39.64 kB / 0.7354 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.2154, allocations: 69.58 kB / 0.7355 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2156, allocations: 314.8 kB / 0.7358 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/0.2163, allocations: 187.9 kB / 0.7359 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007042/0.217, allocations: 195.7 kB / 0.7361 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.2185, allocations: 403.6 kB / 0.7365 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2185, allocations: 0 / 0.7365 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001649/0.2201, allocations: 477.3 kB / 0.737 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2202, allocations: 8 kB / 0.737 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2202, allocations: 3.938 kB / 0.737 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.2202, allocations: 4 kB / 0.737 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/0.221, allocations: 103.7 kB / 0.7371 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.221, allocations: 4 kB / 0.7371 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.2216, allocations: 43.94 kB / 0.7371 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.2217, allocations: 31.86 kB / 0.7371 GB, free: 7.582 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.0001825/0.2219, allocations: 113.8 kB / 0.7373 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.222, allocations: 8 kB / 0.7373 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.222, allocations: 8.062 kB / 0.7373 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.222, allocations: 11.94 kB / 0.7373 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.222, allocations: 0 / 0.7373 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.222, allocations: 3.984 kB / 0.7373 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.2244, allocations: 0.9911 MB / 0.7383 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2245, allocations: 8 kB / 0.7383 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008255/0.2253, allocations: 103.7 kB / 0.7384 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2253, allocations: 0 / 0.7384 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-05/0.2254, allocations: 23.92 kB / 0.7384 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2254, allocations: 0 / 0.7384 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2254, allocations: 8 kB / 0.7384 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.2281, allocations: 0.7869 MB / 0.7392 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.2283, allocations: 39.88 kB / 0.7392 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.2284, allocations: 7.984 kB / 0.7392 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/0.2291, allocations: 48 kB / 0.7393 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.2292, allocations: 27.92 kB / 0.7393 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.2292, allocations: 19.94 kB / 0.7393 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.687e-05/0.2293, allocations: 87.27 kB / 0.7394 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2293, allocations: 3.938 kB / 0.7394 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004127/0.2297, allocations: 55.94 kB / 0.7394 GB, free: 5.105 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.002962/0.2327, allocations: 1.337 MB / 0.7407 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.2343, allocations: 423.5 kB / 0.7411 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.2343, allocations: 0 / 0.7411 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007742/0.2351, allocations: 219.7 kB / 0.7414 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.2355, allocations: 15.92 kB / 0.7414 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009611/0.2451, allocations: 2.935 MB / 0.7442 GB, free: 84 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.2452, allocations: 79.27 kB / 0.7443 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007122/0.2459, allocations: 92.66 kB / 0.7444 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.2462, allocations: 63.3 kB / 0.7445 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of SimCode: time 9.21e-07/0.2462, allocations: 0 / 0.7445 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03765/0.2838, allocations: 5.331 MB / 0.7497 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.65, allocations: 8.562 kB / 0.7497 GB, free: 10.64 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.785251182038337] Failed to read output from testmodel.py, exit status != 0: 11.756675601005554 12.110068815 11.914677038 Calling exit ...