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.7939/0.7939, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 185.4 kB / 187.3 MB, free: 11.89 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.6/1.6, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.001056/0.001056, allocations: 100 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001965/0.001965, allocations: 272.4 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.09e-05/5.124e-05, allocations: 4 kB / 0.6836 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/0.5656, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.6974, allocations: 110.1 MB / 0.8719 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/0.6978, allocations: 80.5 kB / 0.872 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02841/0.7263, allocations: 5.522 MB / 0.8774 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7264, allocations: 0 / 0.8774 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.729e-06/0.7264, allocations: 4 kB / 0.8774 GB, free: 8.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.0005605/0.7269, allocations: 398.3 kB / 0.8777 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.727, allocations: 8.031 kB / 0.8777 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.7271, allocations: 38.56 kB / 0.8778 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003862/0.7275, allocations: 67.83 kB / 0.8779 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.7276, allocations: 171 kB / 0.878 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.7277, allocations: 15.89 kB / 0.878 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.7277, allocations: 8 kB / 0.878 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.7279, allocations: 79.66 kB / 0.8781 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.7279, allocations: 0 / 0.8781 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.7279, allocations: 4 kB / 0.8781 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.728, allocations: 0 / 0.8781 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.7281, allocations: 43.98 kB / 0.8782 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006599/0.7287, allocations: 348.5 kB / 0.8785 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.7289, allocations: 74.56 kB / 0.8786 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.729, allocations: 24.84 kB / 0.8786 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.729, allocations: 0 / 0.8786 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.729, allocations: 34.56 kB / 0.8786 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.729, allocations: 3.938 kB / 0.8786 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.01297/0.742, allocations: 2.112 MB / 0.8807 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.7421, allocations: 55.34 kB / 0.8807 GB, free: 5.105 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.317e-05/0.7422, allocations: 93 kB / 0.8808 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.7423, allocations: 29.7 kB / 0.8809 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.7424, allocations: 88.05 kB / 0.8809 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.76e-05/0.7424, allocations: 35.45 kB / 0.881 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.7425, allocations: 4 kB / 0.881 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.7426, allocations: 322.8 kB / 0.8813 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.7429, allocations: 107.9 kB / 0.8814 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.7431, allocations: 115.9 kB / 0.8815 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.7434, allocations: 122.5 kB / 0.8816 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.7434, allocations: 0 / 0.8816 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007388/0.7442, allocations: 317.5 kB / 0.8819 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.7442, allocations: 4 kB / 0.8819 GB, free: 3.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.7442, allocations: 7.984 kB / 0.8819 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.7442, allocations: 0 / 0.8819 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008142/0.7451, allocations: 127.7 kB / 0.8821 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.7451, allocations: 3.75 kB / 0.8821 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.7457, allocations: 55.94 kB / 0.8821 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/0.7457, allocations: 23.94 kB / 0.8821 GB, free: 3.652 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.000136/0.7459, allocations: 105 kB / 0.8822 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.746, allocations: 8.094 kB / 0.8822 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.746, allocations: 16.08 kB / 0.8823 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.746, allocations: 7.984 kB / 0.8823 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.746, allocations: 4.047 kB / 0.8823 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.746, allocations: 3.938 kB / 0.8823 GB, free: 3.508 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.7475, allocations: 0.901 MB / 0.8831 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7476, allocations: 0 / 0.8831 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008003/0.7484, allocations: 115.8 kB / 0.8833 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.7484, allocations: 3.953 kB / 0.8833 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/0.7484, allocations: 19.94 kB / 0.8833 GB, free: 2.355 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.7485, allocations: 0 / 0.8833 GB, free: 2.355 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.7485, allocations: 3.984 kB / 0.8833 GB, free: 2.352 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.7497, allocations: 0.5732 MB / 0.8838 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.7498, allocations: 113 kB / 0.884 GB, free: 1.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.7499, allocations: 15.94 kB / 0.884 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006727/0.7506, allocations: 56 kB / 0.884 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.7507, allocations: 27.92 kB / 0.884 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.7508, allocations: 23.94 kB / 0.8841 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.7508, allocations: 79.28 kB / 0.8841 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7508, allocations: 0 / 0.8841 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003929/0.7512, allocations: 59.94 kB / 0.8842 GB, free: 1.375 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.001586/0.7528, allocations: 1.114 MB / 0.8853 GB, free: 240 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006456/0.7535, allocations: 271.8 kB / 0.8856 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7535, allocations: 0 / 0.8856 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.7538, allocations: 143.8 kB / 0.8857 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.754, allocations: 15.94 kB / 0.8857 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.7578, allocations: 0.7429 MB / 0.8864 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.7582, allocations: 0.6965 MB / 0.8871 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006415/0.7588, allocations: 88.67 kB / 0.8872 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.7591, allocations: 67.3 kB / 0.8873 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of SimCode: time 1.012e-06/0.7591, allocations: 4 kB / 0.8873 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.099/1.858, allocations: 4.155 MB / 0.8913 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/1.858, allocations: 185.5 kB / 0.8915 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/3.89, allocations: 0 / 0.8915 GB, free: 9.945 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)