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.8261/0.8261, 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.001231/0.001231, allocations: 184.9 kB / 182.2 MB, free: 9.449 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.546/1.546, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009832/0.0009832, allocations: 95.84 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001807/0.001807, allocations: 288.7 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.488e-05, allocations: 8 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4733/0.4734, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.6252, allocations: 108.6 MB / 0.8636 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.6256, allocations: 84.97 kB / 0.8636 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01289/0.6385, allocations: 4.167 MB / 0.8677 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6385, allocations: 0 / 0.8677 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.6386, allocations: 0 / 0.8677 GB, free: 14.89 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.0004058/0.639, allocations: 378.3 kB / 0.8681 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.6391, allocations: 12.03 kB / 0.8681 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003177/0.6394, allocations: 59.84 kB / 0.8681 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.6396, allocations: 175 kB / 0.8683 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.6396, allocations: 7.891 kB / 0.8683 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.6396, allocations: 4 kB / 0.8683 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.193e-05/0.6397, allocations: 19.98 kB / 0.8683 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/0.6398, allocations: 45.62 kB / 0.8684 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.6398, allocations: 7.984 kB / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.6399, allocations: 0 / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6399, allocations: 0 / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.6401, allocations: 146.1 kB / 0.8685 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.698e-05/0.6402, allocations: 46.62 kB / 0.8686 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.6402, allocations: 16.98 kB / 0.8686 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.6402, allocations: 3.953 kB / 0.8686 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.6403, allocations: 35.03 kB / 0.8686 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.6403, allocations: 0 / 0.8686 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.002555/0.6428, allocations: 476.9 kB / 0.8691 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.6429, allocations: 51.41 kB / 0.8691 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.975e-05/0.643, allocations: 107.8 kB / 0.8692 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.6431, allocations: 25.7 kB / 0.8693 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.6431, allocations: 88.14 kB / 0.8693 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.6432, allocations: 27.55 kB / 0.8694 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.6432, allocations: 0 / 0.8694 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6433, allocations: 314.8 kB / 0.8697 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.6434, allocations: 39.98 kB / 0.8697 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/0.6435, allocations: 35.98 kB / 0.8697 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.6436, allocations: 51.94 kB / 0.8698 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.6436, allocations: 0 / 0.8698 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002894/0.6439, allocations: 153.7 kB / 0.8699 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.644, allocations: 8 kB / 0.87 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.644, allocations: 4 kB / 0.87 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.644, allocations: 0 / 0.87 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.6444, allocations: 67.92 kB / 0.87 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.6444, allocations: 0 / 0.87 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.6447, allocations: 44.33 kB / 0.8701 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.6447, allocations: 11.92 kB / 0.8701 GB, free: 12.29 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 0.0001014/0.6448, allocations: 113 kB / 0.8702 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002951/0.6451, allocations: 153.4 kB / 0.8703 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.6452, allocations: 7.844 kB / 0.8703 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.6452, allocations: 12.62 kB / 0.8703 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.6452, allocations: 3.984 kB / 0.8704 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6452, allocations: 4 kB / 0.8704 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6452, allocations: 0 / 0.8704 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.6464, allocations: 0.506 MB / 0.8708 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6464, allocations: 0 / 0.8708 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.6467, allocations: 71.98 kB / 0.8709 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.6468, allocations: 4 kB / 0.8709 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.6468, allocations: 3.984 kB / 0.8709 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6468, allocations: 4 kB / 0.8709 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6468, allocations: 0 / 0.8709 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.6472, allocations: 264.4 kB / 0.8712 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.6472, allocations: 85.02 kB / 0.8713 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.6472, allocations: 0 / 0.8713 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.6475, allocations: 51.91 kB / 0.8713 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.6476, allocations: 19.91 kB / 0.8713 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.6476, allocations: 7.984 kB / 0.8713 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.6477, allocations: 91.28 kB / 0.8714 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6477, allocations: 288 / 0.8714 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002924/0.648, allocations: 35.94 kB / 0.8715 GB, free: 10.75 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.0008035/0.6488, allocations: 0.9602 MB / 0.8724 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.649, allocations: 87.89 kB / 0.8725 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.649, allocations: 0 / 0.8725 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.6491, allocations: 45.38 kB / 0.8725 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.6493, allocations: 4 kB / 0.8725 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.6509, allocations: 391.1 kB / 0.8729 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.6512, allocations: 0.693 MB / 0.8736 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000145/0.6513, allocations: 28.66 kB / 0.8736 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.6515, allocations: 35.39 kB / 0.8736 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.6515, allocations: 0 / 0.8736 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.6729, allocations: 2.281 MB / 0.8759 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/0.6732, allocations: 175 kB / 0.876 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.273, allocations: 0 / 0.876 GB, free: 5.922 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)