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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8598/0.8598, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001285/0.001285, allocations: 176.7 kB / 182.2 MB, free: 9.465 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.634/1.634, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.001219/0.001219, allocations: 99.41 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.002161, allocations: 281.8 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 5.037e-05/5.037e-05, allocations: 11.98 kB / 0.6766 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4813, allocations: 82.78 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.6488, allocations: 109.4 MB / 0.8643 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.6492, allocations: 83.94 kB / 0.8644 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01784/0.6671, allocations: 5.506 MB / 0.8698 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6671, allocations: 0 / 0.8698 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.6671, allocations: 0 / 0.8698 GB, free: 12.83 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.0006146/0.6678, allocations: 398.3 kB / 0.8702 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.6678, allocations: 12.03 kB / 0.8702 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/0.6682, allocations: 63.84 kB / 0.8702 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.6684, allocations: 171 kB / 0.8704 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.6684, allocations: 3.953 kB / 0.8704 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.6685, allocations: 7.984 kB / 0.8704 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001188/0.6686, allocations: 36 kB / 0.8705 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.6687, allocations: 75.84 kB / 0.8705 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.6688, allocations: 7.906 kB / 0.8705 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.6688, allocations: 0 / 0.8705 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.6688, allocations: 4 kB / 0.8705 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.6694, allocations: 313.1 kB / 0.8708 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.6696, allocations: 66.56 kB / 0.8709 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.6696, allocations: 24.84 kB / 0.8709 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.6697, allocations: 0 / 0.8709 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.6697, allocations: 34.56 kB / 0.871 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.6697, allocations: 0 / 0.871 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.01312/0.6828, allocations: 2.108 MB / 0.873 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.6829, allocations: 59.36 kB / 0.8731 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.683, allocations: 89 kB / 0.8732 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/0.6831, allocations: 29.7 kB / 0.8732 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.6832, allocations: 92.03 kB / 0.8733 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/0.6833, allocations: 31.47 kB / 0.8733 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.6833, allocations: 0 / 0.8733 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.6835, allocations: 322.8 kB / 0.8736 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.6837, allocations: 107.9 kB / 0.8737 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.6839, allocations: 111.9 kB / 0.8738 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.6843, allocations: 135.9 kB / 0.874 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6843, allocations: 3.938 kB / 0.874 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000744/0.685, allocations: 329.5 kB / 0.8743 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6851, allocations: 4.938 kB / 0.8743 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6851, allocations: 4 kB / 0.8743 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6851, allocations: 96 / 0.8743 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/0.6859, allocations: 119.7 kB / 0.8744 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.6859, allocations: 3.75 kB / 0.8744 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006162/0.6866, allocations: 59.89 kB / 0.8745 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.6866, allocations: 27.92 kB / 0.8745 GB, free: 7.746 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.0001693/0.6868, allocations: 108.9 kB / 0.8746 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007647/0.6876, allocations: 333.3 kB / 0.8749 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.6877, allocations: 3.906 kB / 0.8749 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.6877, allocations: 8.594 kB / 0.8749 GB, free: 7.285 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.6877, allocations: 8 kB / 0.8749 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.6878, allocations: 7.938 kB / 0.8749 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.6878, allocations: 3.984 kB / 0.8749 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.6893, allocations: 0.8809 MB / 0.8758 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.6893, allocations: 3.938 kB / 0.8758 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.6901, allocations: 115.8 kB / 0.8759 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.6901, allocations: 7.953 kB / 0.8759 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.6902, allocations: 19.94 kB / 0.8759 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6902, allocations: 0 / 0.8759 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6902, allocations: 0 / 0.8759 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.6914, allocations: 0.5827 MB / 0.8765 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.6916, allocations: 113 kB / 0.8766 GB, free: 5.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.6916, allocations: 3.953 kB / 0.8766 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/0.6923, allocations: 56 kB / 0.8767 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.6924, allocations: 27.92 kB / 0.8767 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.6925, allocations: 27.92 kB / 0.8767 GB, free: 5.305 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.6925, allocations: 83.22 kB / 0.8768 GB, free: 5.223 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6926, allocations: 4 kB / 0.8768 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004425/0.693, allocations: 55.94 kB / 0.8769 GB, free: 5.164 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.001618/0.6946, allocations: 1.122 MB / 0.878 GB, free: 4.012 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005932/0.6952, allocations: 263.7 kB / 0.8782 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6953, allocations: 4.062 kB / 0.8782 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.6955, allocations: 143.8 kB / 0.8783 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.6958, allocations: 11.95 kB / 0.8784 GB, free: 3.598 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.6997, allocations: 0.7238 MB / 0.8791 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.7001, allocations: 0.6933 MB / 0.8797 GB, free: 2.117 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006874/0.7008, allocations: 96.59 kB / 0.8798 GB, free: 2.023 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.7011, allocations: 63.3 kB / 0.8799 GB, free: 1.961 MB / 0.5417 GB Notification: Performance of SimCode: time 1.112e-06/0.7011, allocations: 0 / 0.8799 GB, free: 1.961 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.7261, allocations: 3.766 MB / 0.8836 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/0.7264, allocations: 175.8 kB / 0.8837 GB, free: 14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.525, allocations: 2.875 kB / 0.8837 GB, free: 14 MB / 0.5573 GB (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/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --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)