Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_8_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_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.907/1.907, allocations: 289.7 MB / 302.2 MB, free: 2.066 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 182.2 kB / 371.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.2 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008021/0.0008022, allocations: 89.12 kB / 0.745 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.838e-05/6.88e-05, allocations: 8 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2921, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7956/1.088, allocations: 140.4 MB / 1.117 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/1.088, allocations: 83.69 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01497/1.103, allocations: 5.454 MB / 1.122 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.694e-06/1.103, allocations: 0 / 1.122 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.722e-06/1.103, allocations: 4 kB / 1.122 GB, free: 40.44 MB / 0.7448 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.000465/1.104, allocations: 391.3 kB / 1.123 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.104, allocations: 12.03 kB / 1.123 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/1.104, allocations: 33.94 kB / 1.123 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/1.104, allocations: 77.42 kB / 1.123 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/1.104, allocations: 170.9 kB / 1.123 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/1.104, allocations: 10.45 kB / 1.123 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/1.104, allocations: 8.781 kB / 1.123 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/1.104, allocations: 82.77 kB / 1.123 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.104, allocations: 3.906 kB / 1.123 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/1.104, allocations: 3.75 kB / 1.123 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/1.104, allocations: 4 kB / 1.123 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.085e-05/1.105, allocations: 42.84 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/1.105, allocations: 333.8 kB / 1.124 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/1.105, allocations: 73.88 kB / 1.124 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/1.105, allocations: 27.88 kB / 1.124 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/1.105, allocations: 0 / 1.124 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/1.105, allocations: 38.56 kB / 1.124 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/1.105, allocations: 0 / 1.124 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.01341/1.119, allocations: 2.102 MB / 1.126 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/1.119, allocations: 51.41 kB / 1.126 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/1.119, allocations: 96.56 kB / 1.126 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/1.119, allocations: 29.7 kB / 1.126 GB, free: 37.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/1.119, allocations: 95.28 kB / 1.126 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/1.119, allocations: 38.67 kB / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/1.119, allocations: 7.5 kB / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/1.119, allocations: 314.1 kB / 1.126 GB, free: 37.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/1.119, allocations: 115.9 kB / 1.126 GB, free: 37.08 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/1.12, allocations: 115 kB / 1.127 GB, free: 37.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/1.12, allocations: 111.4 kB / 1.127 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/1.12, allocations: 0 / 1.127 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006503/1.12, allocations: 328.9 kB / 1.127 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.12, allocations: 8 kB / 1.127 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.12, allocations: 3.953 kB / 1.127 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.121, allocations: 0 / 1.127 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/1.121, allocations: 120 kB / 1.127 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.121, allocations: 0.5625 kB / 1.127 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/1.122, allocations: 61.66 kB / 1.127 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/1.122, allocations: 22.08 kB / 1.127 GB, free: 36.67 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.122, allocations: 115.9 kB / 1.127 GB, free: 36.56 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/1.122, allocations: 8.094 kB / 1.127 GB, free: 36.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/1.122, allocations: 15.78 kB / 1.127 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.122, allocations: 7.938 kB / 1.127 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.122, allocations: 1.781 kB / 1.127 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.122, allocations: 0 / 1.127 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/1.123, allocations: 0.8906 MB / 1.128 GB, free: 35.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.123, allocations: 0.8125 kB / 1.128 GB, free: 35.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007971/1.124, allocations: 119.3 kB / 1.128 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.124, allocations: 3.328 kB / 1.128 GB, free: 35.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.078e-05/1.124, allocations: 28.89 kB / 1.128 GB, free: 35.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.124, allocations: 0 / 1.128 GB, free: 35.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.124, allocations: 4 kB / 1.128 GB, free: 35.74 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009491/1.125, allocations: 0.5609 MB / 1.129 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/1.125, allocations: 124.6 kB / 1.129 GB, free: 35.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/1.125, allocations: 0 / 1.129 GB, free: 35.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/1.126, allocations: 61.02 kB / 1.129 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/1.126, allocations: 26.95 kB / 1.129 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/1.126, allocations: 25.02 kB / 1.129 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.215e-05/1.126, allocations: 86.62 kB / 1.129 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.21e-07/1.126, allocations: 4 kB / 1.129 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000344/1.127, allocations: 59.88 kB / 1.129 GB, free: 35.09 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/1.128, allocations: 1.12 MB / 1.13 GB, free: 34.19 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005335/1.128, allocations: 276.7 kB / 1.131 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.128, allocations: 0 / 1.131 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/1.129, allocations: 148.7 kB / 1.131 GB, free: 33.97 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/1.129, allocations: 9.812 kB / 1.131 GB, free: 33.97 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/1.133, allocations: 0.7486 MB / 1.132 GB, free: 33.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/1.133, allocations: 0.695 MB / 1.132 GB, free: 32.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006327/1.133, allocations: 92.84 kB / 1.132 GB, free: 32.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/1.134, allocations: 61.42 kB / 1.132 GB, free: 32.66 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/1.134, allocations: 0 / 1.132 GB, free: 32.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/1.147, allocations: 4.149 MB / 1.136 GB, free: 30.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000126/1.148, allocations: 171.2 kB / 1.137 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.83, allocations: 0 / 1.137 GB, free: 30.25 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)