Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001292/0.001292, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001519/0.001519, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00247/0.00247, allocations: 291.9 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.233/1.233, allocations: 180.6 MB / 0.5369 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002931/0.002931, allocations: 101.8 kB / 0.7395 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1964, allocations: 95.37 MB / 0.8327 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002119/0.1986, allocations: 0.7865 MB / 0.8335 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.2006, allocations: 1.452 MB / 0.8349 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.2006, allocations: 0 / 0.8349 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.2007, allocations: 3.938 kB / 0.8349 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.2007, allocations: 4 kB / 0.8349 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.2012, allocations: 147.4 kB / 0.835 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.708e-05/0.2013, allocations: 55.83 kB / 0.8351 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.2014, allocations: 4 kB / 0.8351 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/0.2015, allocations: 27.92 kB / 0.8351 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.2015, allocations: 27.89 kB / 0.8351 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.2015, allocations: 8 kB / 0.8351 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.2019, allocations: 243.5 kB / 0.8354 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.202, allocations: 19.91 kB / 0.8354 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.202, allocations: 19.92 kB / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.2023, allocations: 203.7 kB / 0.8356 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2023, allocations: 0 / 0.8356 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2023, allocations: 7.938 kB / 0.8356 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2023, allocations: 0 / 0.8356 GB, free: 5.262 MB / 0.5762 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.0006556/0.203, allocations: 333.7 kB / 0.8359 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.203, allocations: 9.344 kB / 0.8359 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.2031, allocations: 42.75 kB / 0.836 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/0.2035, allocations: 68.84 kB / 0.836 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2036, allocations: 114.4 kB / 0.8362 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.2036, allocations: 4.375 kB / 0.8362 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.2037, allocations: 8.375 kB / 0.8362 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.2041, allocations: 166.6 kB / 0.8363 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2041, allocations: 7.938 kB / 0.8363 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2041, allocations: 4 kB / 0.8363 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2041, allocations: 0 / 0.8363 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.2046, allocations: 103.9 kB / 0.8364 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.2051, allocations: 283.8 kB / 0.8367 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.2058, allocations: 162.3 kB / 0.8369 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.206, allocations: 56.81 kB / 0.8369 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.2061, allocations: 4 kB / 0.8369 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2061, allocations: 30.56 kB / 0.8369 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2061, allocations: 0 / 0.8369 GB, free: 3.75 MB / 0.5762 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.01755/0.2236, allocations: 2.691 MB / 0.8396 GB, free: 1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.2237, allocations: 55.34 kB / 0.8396 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2238, allocations: 109.8 kB / 0.8397 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.2239, allocations: 29.7 kB / 0.8398 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.2239, allocations: 88.03 kB / 0.8398 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.224, allocations: 43.69 kB / 0.8399 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.2241, allocations: 69.58 kB / 0.84 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2243, allocations: 314.8 kB / 0.8403 GB, free: 264 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/0.2249, allocations: 187.8 kB / 0.8404 GB, free: 76 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.2256, allocations: 198.5 kB / 0.8406 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.2269, allocations: 392.7 kB / 0.841 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2269, allocations: 0 / 0.841 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001583/0.2285, allocations: 477.2 kB / 0.8414 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2285, allocations: 4 kB / 0.8415 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2285, allocations: 0 / 0.8415 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.2286, allocations: 4 kB / 0.8415 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/0.2293, allocations: 115.7 kB / 0.8416 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2294, allocations: 0 / 0.8416 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.2299, allocations: 43.94 kB / 0.8416 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.23, allocations: 23.92 kB / 0.8416 GB, free: 14.84 MB / 0.5919 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.0001652/0.2301, allocations: 118.5 kB / 0.8417 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.2302, allocations: 11.89 kB / 0.8418 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.2303, allocations: 16.06 kB / 0.8418 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2303, allocations: 7.938 kB / 0.8418 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2303, allocations: 0 / 0.8418 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2303, allocations: 3.984 kB / 0.8418 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.2325, allocations: 0.9756 MB / 0.8427 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2325, allocations: 4 kB / 0.8427 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000783/0.2333, allocations: 111.7 kB / 0.8428 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2333, allocations: 0 / 0.8428 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.2334, allocations: 23.92 kB / 0.8429 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2334, allocations: 4 kB / 0.8429 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2334, allocations: 96 / 0.8429 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.2357, allocations: 0.7955 MB / 0.8436 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.2359, allocations: 47.81 kB / 0.8437 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.2359, allocations: 0 / 0.8437 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/0.2366, allocations: 48 kB / 0.8437 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.2367, allocations: 31.92 kB / 0.8438 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.2367, allocations: 19.94 kB / 0.8438 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.2368, allocations: 83.27 kB / 0.8439 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2368, allocations: 4 kB / 0.8439 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003587/0.2371, allocations: 55.94 kB / 0.8439 GB, free: 12.35 MB / 0.5919 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.002728/0.2399, allocations: 1.333 MB / 0.8452 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.2413, allocations: 429.1 kB / 0.8456 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2413, allocations: 0 / 0.8456 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000716/0.242, allocations: 223.7 kB / 0.8459 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.2424, allocations: 21.12 kB / 0.8459 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008567/0.251, allocations: 2.949 MB / 0.8488 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.258e-05/0.2511, allocations: 79.77 kB / 0.8488 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000577/0.2516, allocations: 92.66 kB / 0.8489 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.2519, allocations: 63.3 kB / 0.849 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/0.2519, allocations: 0 / 0.849 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03492/0.2868, allocations: 5.347 MB / 0.8542 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.28, allocations: 0 / 0.8542 GB, free: 1.859 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.349050692748278] Failed to read output from testmodel.py, exit status != 0: 11.38396339584142 11.411995501 11.204666579 Calling exit ...