Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001796/0.001796, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002371/0.002371, allocations: 214.9 kB / 22.25 MB, free: 5.121 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.362/3.362, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002091/0.002091, allocations: 68.5 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.36, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002527/0.3626, allocations: 0.8033 MB / 1.354 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002503/0.3651, allocations: 1.544 MB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.883e-05/0.3651, allocations: 0 / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.047e-05/0.3652, allocations: 3.938 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.3652, allocations: 0 / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006381/0.3658, allocations: 143.5 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.366, allocations: 55.83 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.366, allocations: 288 / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.3661, allocations: 27.92 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.3662, allocations: 35.89 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3662, allocations: 4 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.3667, allocations: 323.4 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.3667, allocations: 15.91 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.3668, allocations: 23.88 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.3672, allocations: 203.4 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3672, allocations: 15.86 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3672, allocations: 0 / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3672, allocations: 3.938 kB / 1.356 GB, free: 5.234 MB / 1.045 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.0006721/0.3678, allocations: 329.8 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3679, allocations: 8.031 kB / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.3679, allocations: 38.75 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.3684, allocations: 68.84 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.3685, allocations: 114.4 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.3686, allocations: 8.375 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.3686, allocations: 8.375 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.369, allocations: 117.7 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.369, allocations: 0 / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.369, allocations: 3.938 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.369, allocations: 4 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.3695, allocations: 99.89 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.3701, allocations: 307.8 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/0.3707, allocations: 146.4 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.371, allocations: 60.8 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.371, allocations: 0 / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.371, allocations: 30.56 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.371, allocations: 0 / 1.357 GB, free: 3.785 MB / 1.045 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.01902/0.39, allocations: 2.706 MB / 1.36 GB, free: 1.023 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3901, allocations: 55.34 kB / 1.36 GB, free: 0.957 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.001e-05/0.3902, allocations: 101.9 kB / 1.36 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.3902, allocations: 29.64 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.3903, allocations: 88.12 kB / 1.36 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.3903, allocations: 47.62 kB / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.3905, allocations: 69.58 kB / 1.36 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3907, allocations: 318.8 kB / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006546/0.3913, allocations: 187.8 kB / 1.361 GB, free: 100 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006545/0.392, allocations: 195.8 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.3933, allocations: 392.5 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3933, allocations: 0 / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001531/0.3948, allocations: 477.3 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3948, allocations: 4 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3948, allocations: 0 / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3948, allocations: 7.938 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008506/0.3957, allocations: 111.8 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.3957, allocations: 7.938 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006188/0.3963, allocations: 47.94 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/0.3964, allocations: 23.94 kB / 1.362 GB, free: 14.85 MB / 1.061 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.0001623/0.3965, allocations: 122.4 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.3966, allocations: 4 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.3967, allocations: 16.06 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3967, allocations: 3.938 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3967, allocations: 0 / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3967, allocations: 4 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.399, allocations: 1.015 MB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.399, allocations: 3.938 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008417/0.3998, allocations: 107.7 kB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3998, allocations: 4 kB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.3999, allocations: 19.94 kB / 1.363 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3999, allocations: 0 / 1.363 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3999, allocations: 4 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.4022, allocations: 0.7917 MB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.4024, allocations: 43.94 kB / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/0.4025, allocations: 0 / 1.364 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006899/0.4032, allocations: 47.94 kB / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.4032, allocations: 27.91 kB / 1.364 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.4033, allocations: 27.94 kB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.4033, allocations: 79.28 kB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4033, allocations: 0 / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003767/0.4037, allocations: 55.88 kB / 1.364 GB, free: 12.35 MB / 1.061 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.002716/0.4064, allocations: 1.351 MB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.4079, allocations: 423.5 kB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4079, allocations: 4 kB / 1.366 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.4086, allocations: 215.7 kB / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.409, allocations: 9.891 kB / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008886/0.4178, allocations: 2.939 MB / 1.369 GB, free: 7.316 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.4182, allocations: 0.6924 MB / 1.37 GB, free: 6.598 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005338/0.4187, allocations: 88.67 kB / 1.37 GB, free: 6.512 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.419, allocations: 63.72 kB / 1.37 GB, free: 6.449 MB / 1.061 GB Notification: Performance of SimCode: time 8.52e-07/0.419, allocations: 0 / 1.37 GB, free: 6.449 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.4531, allocations: 4.796 MB / 1.375 GB, free: 1.773 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.96, allocations: 8.625 kB / 1.375 GB, free: 1.77 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.922591954935342] Failed to read output from testmodel.py, exit status != 0: 12.065428470959887 12.082117819 11.711680079 Calling exit ...