Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",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.8333/0.8333, 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.001704/0.001704, allocations: 178.5 kB / 187.2 MB, free: 11.9 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.633/1.633, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0009592/0.0009591, allocations: 101.4 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001844/0.001844, allocations: 274.8 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.072e-05/4.074e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.4958, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.6366, allocations: 109.3 MB / 0.8711 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.637, allocations: 75.95 kB / 0.8712 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.65, allocations: 4.19 MB / 0.8753 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.244e-06/0.65, allocations: 0 / 0.8753 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.65, allocations: 0 / 0.8753 GB, free: 10.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000449/0.6505, allocations: 374.4 kB / 0.8756 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.6506, allocations: 8.031 kB / 0.8757 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/0.6506, allocations: 30.56 kB / 0.8757 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.6509, allocations: 63.78 kB / 0.8757 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.6511, allocations: 175.1 kB / 0.8759 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.6512, allocations: 7.891 kB / 0.8759 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.6512, allocations: 4 kB / 0.8759 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.6513, allocations: 45.69 kB / 0.876 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.6514, allocations: 0 / 0.876 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.6514, allocations: 0 / 0.876 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.6514, allocations: 0 / 0.876 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/0.6515, allocations: 27.98 kB / 0.876 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.6517, allocations: 165.6 kB / 0.8762 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.6518, allocations: 62.98 kB / 0.8762 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.6519, allocations: 20.98 kB / 0.8762 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.6519, allocations: 0 / 0.8762 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.652, allocations: 34.56 kB / 0.8763 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.652, allocations: 0 / 0.8763 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.002424/0.6544, allocations: 445 kB / 0.8767 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.6545, allocations: 51.41 kB / 0.8767 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.6546, allocations: 115.9 kB / 0.8768 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.6546, allocations: 25.7 kB / 0.8769 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.6547, allocations: 88.08 kB / 0.877 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/0.6547, allocations: 27.55 kB / 0.877 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.6548, allocations: 4 kB / 0.877 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6549, allocations: 318.8 kB / 0.8773 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.966e-05/0.655, allocations: 39.98 kB / 0.8773 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.6551, allocations: 39.98 kB / 0.8774 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.282e-05/0.6552, allocations: 48.14 kB / 0.8774 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.6552, allocations: 0 / 0.8774 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002596/0.6555, allocations: 125.6 kB / 0.8775 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6555, allocations: 8 kB / 0.8775 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6555, allocations: 0 / 0.8775 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.6555, allocations: 0 / 0.8775 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.6559, allocations: 71.92 kB / 0.8776 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.6559, allocations: 0 / 0.8776 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.6562, allocations: 48.33 kB / 0.8777 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.6563, allocations: 7.984 kB / 0.8777 GB, free: 8.32 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 (9): * Single equations (assignments): 9 * 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 9.256e-05/0.6564, allocations: 120.8 kB / 0.8778 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.6564, allocations: 7.906 kB / 0.8778 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.6564, allocations: 16.61 kB / 0.8778 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6564, allocations: 0 / 0.8778 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6564, allocations: 0 / 0.8778 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6564, allocations: 0 / 0.8778 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.6577, allocations: 0.5171 MB / 0.8783 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6577, allocations: 4 kB / 0.8783 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.658, allocations: 67.98 kB / 0.8784 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.658, allocations: 0 / 0.8784 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.658, allocations: 11.92 kB / 0.8784 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.658, allocations: 4 kB / 0.8784 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6581, allocations: 0 / 0.8784 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.6584, allocations: 248.5 kB / 0.8786 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.6584, allocations: 81.02 kB / 0.8787 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.6585, allocations: 12 kB / 0.8787 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.6588, allocations: 48.09 kB / 0.8788 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.6588, allocations: 11.97 kB / 0.8788 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.6588, allocations: 11.92 kB / 0.8788 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.434e-05/0.6589, allocations: 91.28 kB / 0.8789 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6589, allocations: 0 / 0.8789 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002741/0.6592, allocations: 39.94 kB / 0.8789 GB, free: 6.922 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0007832/0.66, allocations: 0.9485 MB / 0.8798 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.6602, allocations: 91.89 kB / 0.8799 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6602, allocations: 0 / 0.8799 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.6603, allocations: 47.91 kB / 0.88 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.6605, allocations: 12.88 kB / 0.88 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.6621, allocations: 398.4 kB / 0.8804 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.6623, allocations: 0.6926 MB / 0.881 GB, free: 4.633 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.6625, allocations: 24.66 kB / 0.8811 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.6626, allocations: 35.39 kB / 0.8811 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.6626, allocations: 0 / 0.8811 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05026/0.7129, allocations: 2.644 MB / 0.8837 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.7132, allocations: 180.5 kB / 0.8839 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.488, allocations: 4 kB / 0.8839 GB, free: 1.875 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)