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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 176.6 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009204/0.0009205, allocations: 87.55 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001903/0.001903, allocations: 286.1 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 6.063e-05/6.064e-05, allocations: 8 kB / 0.6766 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3705, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4988, allocations: 109.4 MB / 0.8642 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.4991, allocations: 87.81 kB / 0.8643 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01758/0.5167, allocations: 5.5 MB / 0.8697 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.32e-07/0.5167, allocations: 0 / 0.8697 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.5167, allocations: 8 kB / 0.8697 GB, free: 12.84 MB / 0.5417 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.0004928/0.5172, allocations: 386.3 kB / 0.8701 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5173, allocations: 12.03 kB / 0.8701 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.5176, allocations: 67.84 kB / 0.8702 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.5178, allocations: 171 kB / 0.8703 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.5178, allocations: 7.953 kB / 0.8703 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.5178, allocations: 4 kB / 0.8703 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001089/0.518, allocations: 35.98 kB / 0.8704 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.5181, allocations: 69.66 kB / 0.8704 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5181, allocations: 7.906 kB / 0.8704 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5181, allocations: 0 / 0.8704 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.5181, allocations: 0 / 0.8704 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.5187, allocations: 317.1 kB / 0.8707 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.5188, allocations: 62.56 kB / 0.8708 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.5189, allocations: 28.8 kB / 0.8708 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.5189, allocations: 0 / 0.8708 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.5189, allocations: 38.5 kB / 0.8709 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.5189, allocations: 4 kB / 0.8709 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.01339/0.5323, allocations: 2.096 MB / 0.8729 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.5324, allocations: 63.36 kB / 0.873 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.222e-05/0.5325, allocations: 100.9 kB / 0.8731 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.5326, allocations: 25.7 kB / 0.8731 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.5326, allocations: 88.03 kB / 0.8732 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.5327, allocations: 39.45 kB / 0.8732 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.5327, allocations: 0 / 0.8732 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.5328, allocations: 314.8 kB / 0.8735 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.533, allocations: 115.9 kB / 0.8736 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.5332, allocations: 109.2 kB / 0.8737 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.5335, allocations: 135.9 kB / 0.8739 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5336, allocations: 4.031 kB / 0.8739 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007019/0.5343, allocations: 335.7 kB / 0.8742 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.5343, allocations: 4.938 kB / 0.8742 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5343, allocations: 0 / 0.8742 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5343, allocations: 0 / 0.8742 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/0.5352, allocations: 123.7 kB / 0.8743 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.5352, allocations: 3.984 kB / 0.8743 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/0.5359, allocations: 67.89 kB / 0.8744 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.5359, allocations: 19.94 kB / 0.8744 GB, free: 7.762 MB / 0.5417 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.0001415/0.5361, allocations: 101 kB / 0.8745 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.5362, allocations: 7.906 kB / 0.8745 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.5362, allocations: 8.406 kB / 0.8745 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5362, allocations: 4 kB / 0.8745 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5362, allocations: 0 / 0.8745 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.5362, allocations: 3.984 kB / 0.8745 GB, free: 7.629 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.5378, allocations: 0.8925 MB / 0.8754 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5378, allocations: 0 / 0.8754 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.5387, allocations: 115.8 kB / 0.8755 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.5387, allocations: 4 kB / 0.8755 GB, free: 6.523 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.5387, allocations: 19.94 kB / 0.8755 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5387, allocations: 0 / 0.8755 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.5387, allocations: 3.953 kB / 0.8755 GB, free: 6.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.5398, allocations: 0.5811 MB / 0.8761 GB, free: 5.902 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.54, allocations: 120.9 kB / 0.8762 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.901e-05/0.5401, allocations: 3.938 kB / 0.8762 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007482/0.5408, allocations: 56 kB / 0.8763 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.5409, allocations: 31.88 kB / 0.8763 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.541, allocations: 23.94 kB / 0.8763 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.058e-05/0.541, allocations: 83.27 kB / 0.8764 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.541, allocations: 0 / 0.8764 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003996/0.5414, allocations: 55.94 kB / 0.8764 GB, free: 5.516 MB / 0.5417 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.0002253/0.5417, allocations: 115.2 kB / 0.8766 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004897/0.5422, allocations: 263.7 kB / 0.8768 GB, free: 5.133 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5422, allocations: 4 kB / 0.8768 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.5424, allocations: 135.9 kB / 0.8769 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.5427, allocations: 11.98 kB / 0.877 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.5464, allocations: 0.6926 MB / 0.8776 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.5467, allocations: 0.6933 MB / 0.8783 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006965/0.5474, allocations: 92.61 kB / 0.8784 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.5477, allocations: 59.3 kB / 0.8785 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5477, allocations: 0 / 0.8785 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of Templates: time 0.005355/0.5531, allocations: 3.134 MB / 0.8815 GB, free: 276 kB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)