Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.002182/0.002183, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6536/0.6536, allocations: 91.98 MB / 108.5 MB, free: 13.05 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.736/1.736, allocations: 223.2 MB / 354.3 MB, free: 12.12 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.001093/0.001093, allocations: 92.28 kB / 427.4 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 8 kB / 0.4983 GB, free: 42.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1563, allocations: 72.31 MB / 0.5689 GB, free: 1.785 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5095/0.6658, allocations: 102.7 MB / 0.6692 GB, free: 1.645 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003734/0.6663, allocations: 71.95 kB / 0.6693 GB, free: 1.574 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01349/0.6798, allocations: 3.847 MB / 0.673 GB, free: 13.74 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.6799, allocations: 0 / 0.673 GB, free: 13.74 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.6799, allocations: 0 / 0.673 GB, free: 13.74 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007311/0.6806, allocations: 394.3 kB / 0.6734 GB, free: 13.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.115e-05/0.6807, allocations: 16.03 kB / 0.6734 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.6808, allocations: 30.56 kB / 0.6734 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004318/0.6813, allocations: 71.88 kB / 0.6735 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.6814, allocations: 169.9 kB / 0.6737 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.6815, allocations: 4 kB / 0.6737 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.6815, allocations: 0 / 0.6737 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.6819, allocations: 101.6 kB / 0.6738 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6819, allocations: 3.984 kB / 0.6738 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6819, allocations: 0 / 0.6738 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.6819, allocations: 0 / 0.6738 GB, free: 12.87 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.6824, allocations: 119.8 kB / 0.6739 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005917/0.683, allocations: 288.9 kB / 0.6742 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.6834, allocations: 118.4 kB / 0.6743 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.6834, allocations: 4.062 kB / 0.6743 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.6835, allocations: 34.5 kB / 0.6743 GB, free: 12.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/0.6835, allocations: 4 kB / 0.6743 GB, free: 12.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0007646/0.6843, allocations: 201.6 kB / 0.6745 GB, free: 12.04 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.6843, allocations: 55.39 kB / 0.6746 GB, free: 11.97 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.6844, allocations: 93 kB / 0.6747 GB, free: 11.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.6844, allocations: 25.7 kB / 0.6747 GB, free: 11.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.6845, allocations: 88.17 kB / 0.6748 GB, free: 11.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.6845, allocations: 3.906 kB / 0.6748 GB, free: 11.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.6845, allocations: 0 / 0.6748 GB, free: 11.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.6847, allocations: 318.8 kB / 0.6751 GB, free: 11.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.6849, allocations: 59.89 kB / 0.6751 GB, free: 11.37 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.6851, allocations: 59.95 kB / 0.6752 GB, free: 11.31 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.6853, allocations: 52.02 kB / 0.6752 GB, free: 11.26 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.6853, allocations: 0 / 0.6752 GB, free: 11.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004729/0.6858, allocations: 153.6 kB / 0.6754 GB, free: 11.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6858, allocations: 4 kB / 0.6754 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6858, allocations: 0 / 0.6754 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6859, allocations: 3.953 kB / 0.6754 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.6861, allocations: 27.97 kB / 0.6754 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.6861, allocations: 0 / 0.6754 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.6862, allocations: 24.02 kB / 0.6754 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.6862, allocations: 3.984 kB / 0.6754 GB, free: 11.04 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.6863, allocations: 109.8 kB / 0.6756 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.6864, allocations: 3.906 kB / 0.6756 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.6864, allocations: 7.125 kB / 0.6756 GB, free: 10.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.6864, allocations: 7.938 kB / 0.6756 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6864, allocations: 7.953 kB / 0.6756 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6864, allocations: 0 / 0.6756 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.6867, allocations: 173.9 kB / 0.6757 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6867, allocations: 0 / 0.6757 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.6868, allocations: 31.97 kB / 0.6758 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.6868, allocations: 4 kB / 0.6758 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.6868, allocations: 0 / 0.6758 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.6868, allocations: 0 / 0.6758 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6869, allocations: 7.891 kB / 0.6758 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.6874, allocations: 243.5 kB / 0.676 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.6875, allocations: 77.11 kB / 0.6761 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.6875, allocations: 0 / 0.6761 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.6876, allocations: 23.97 kB / 0.6761 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.6877, allocations: 4.031 kB / 0.6761 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.6877, allocations: 11.89 kB / 0.6761 GB, free: 10.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.886e-05/0.6878, allocations: 87.27 kB / 0.6762 GB, free: 10.17 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6878, allocations: 3.938 kB / 0.6762 GB, free: 10.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.688, allocations: 19.94 kB / 0.6762 GB, free: 10.14 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0009958/0.689, allocations: 0.7754 MB / 0.677 GB, free: 9.344 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004877/0.6896, allocations: 123.9 kB / 0.6771 GB, free: 9.223 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6896, allocations: 0 / 0.6771 GB, free: 9.223 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.6898, allocations: 63.95 kB / 0.6772 GB, free: 9.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.6901, allocations: 6.719 kB / 0.6772 GB, free: 9.156 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.6909, allocations: 214.8 kB / 0.6774 GB, free: 8.898 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.6912, allocations: 0.677 MB / 0.678 GB, free: 8.195 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.445e-05/0.6913, allocations: 11.95 kB / 0.6781 GB, free: 8.184 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.6913, allocations: 15.44 kB / 0.6781 GB, free: 8.168 MB / 474.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6913, allocations: 0 / 0.6781 GB, free: 8.168 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01316/0.7045, allocations: 1.378 MB / 0.6794 GB, free: 6.918 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.7048, allocations: 178.1 kB / 0.6796 GB, free: 6.676 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.265, allocations: 3.938 kB / 0.6796 GB, free: 6.672 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)