Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001035, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4797/0.4797, allocations: 90.8 MB / 104.5 MB, free: 13.84 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008346/0.0008346, allocations: 111.5 kB / 421.2 MB, free: 5.672 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.497e-05, allocations: 8 kB / 0.4897 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1228, allocations: 72.3 MB / 0.5603 GB, free: 6.309 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.5194, allocations: 102.2 MB / 0.6601 GB, free: 5.695 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.5196, allocations: 77.33 kB / 0.6602 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01199/0.5316, allocations: 4.183 MB / 0.6643 GB, free: 2.074 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.5316, allocations: 0 / 0.6643 GB, free: 2.074 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.5317, allocations: 4 kB / 0.6643 GB, free: 2.07 MB / 458.7 MB 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.0003149/0.532, allocations: 377.8 kB / 0.6647 GB, free: 1.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.532, allocations: 11.98 kB / 0.6647 GB, free: 1.648 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.5321, allocations: 34.31 kB / 0.6647 GB, free: 1.609 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.5323, allocations: 67.8 kB / 0.6648 GB, free: 1.543 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.5325, allocations: 171 kB / 0.6649 GB, free: 1.336 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.5325, allocations: 0 / 0.6649 GB, free: 1.336 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.5325, allocations: 7.938 kB / 0.6649 GB, free: 1.332 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.988e-05/0.5326, allocations: 45.48 kB / 0.665 GB, free: 1.285 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.5326, allocations: 0 / 0.665 GB, free: 1.285 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.5326, allocations: 0 / 0.665 GB, free: 1.285 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5326, allocations: 0 / 0.665 GB, free: 1.285 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.101e-05/0.5327, allocations: 27.38 kB / 0.665 GB, free: 1.262 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.5329, allocations: 176.3 kB / 0.6652 GB, free: 1.051 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.106e-05/0.533, allocations: 49.98 kB / 0.6652 GB, free: 1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.533, allocations: 20.66 kB / 0.6652 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.533, allocations: 4 kB / 0.6652 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.533, allocations: 30.56 kB / 0.6653 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.5331, allocations: 0 / 0.6653 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.002221/0.5353, allocations: 452.4 kB / 0.6657 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.5353, allocations: 55.34 kB / 0.6658 GB, free: 472 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.5354, allocations: 104 kB / 0.6659 GB, free: 368 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.5354, allocations: 25.7 kB / 0.6659 GB, free: 336 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.5355, allocations: 95.44 kB / 0.666 GB, free: 240 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.5355, allocations: 23.19 kB / 0.666 GB, free: 220 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.5355, allocations: 4 kB / 0.666 GB, free: 216 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5356, allocations: 322.1 kB / 0.6663 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.5357, allocations: 41.23 kB / 0.6663 GB, free: 15.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.5358, allocations: 38.33 kB / 0.6664 GB, free: 15.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.814e-05/0.5359, allocations: 34.36 kB / 0.6664 GB, free: 15.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.5359, allocations: 0 / 0.6664 GB, free: 15.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002587/0.5362, allocations: 137.1 kB / 0.6665 GB, free: 15.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.5362, allocations: 8 kB / 0.6666 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5362, allocations: 0 / 0.6666 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.5362, allocations: 3.984 kB / 0.6666 GB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.5366, allocations: 67.92 kB / 0.6666 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.5366, allocations: 3.953 kB / 0.6666 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.5369, allocations: 47.95 kB / 0.6667 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.5369, allocations: 8.359 kB / 0.6667 GB, free: 15.56 MB / 474.7 MB 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 7.595e-05/0.537, allocations: 108.2 kB / 0.6668 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.537, allocations: 7.906 kB / 0.6668 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.537, allocations: 11.19 kB / 0.6668 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.537, allocations: 0 / 0.6668 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5371, allocations: 8 kB / 0.6668 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.5371, allocations: 11.94 kB / 0.6668 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.5381, allocations: 0.5085 MB / 0.6673 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5381, allocations: 3.938 kB / 0.6673 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.5384, allocations: 75.88 kB / 0.6674 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.5384, allocations: 0 / 0.6674 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.5385, allocations: 11.86 kB / 0.6674 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5385, allocations: 0 / 0.6674 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5385, allocations: 0 / 0.6674 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.5387, allocations: 253.5 kB / 0.6676 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.97e-05/0.5388, allocations: 88.98 kB / 0.6677 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.5388, allocations: 4 kB / 0.6677 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.5391, allocations: 47.2 kB / 0.6678 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.5391, allocations: 11.98 kB / 0.6678 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.5391, allocations: 7.984 kB / 0.6678 GB, free: 14.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.888e-05/0.5392, allocations: 90.03 kB / 0.6679 GB, free: 14.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5392, allocations: 0 / 0.6679 GB, free: 14.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.5394, allocations: 43.92 kB / 0.6679 GB, free: 14.23 MB / 474.7 MB 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.0005926/0.54, allocations: 0.9494 MB / 0.6689 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.5402, allocations: 85.27 kB / 0.6689 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5402, allocations: 0 / 0.6689 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.5403, allocations: 50.34 kB / 0.669 GB, free: 13.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.5405, allocations: 7.953 kB / 0.669 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.5419, allocations: 403.8 kB / 0.6694 GB, free: 12.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.5421, allocations: 0.6887 MB / 0.67 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.5423, allocations: 25.45 kB / 0.6701 GB, free: 12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.5424, allocations: 33.77 kB / 0.6701 GB, free: 11.97 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/0.5424, allocations: 0 / 0.6701 GB, free: 11.97 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.5543, allocations: 2.631 MB / 0.6727 GB, free: 9.473 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.5546, allocations: 164.2 kB / 0.6728 GB, free: 9.242 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.389/1.944, allocations: 0 / 0.6728 GB, free: 9.242 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)