Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.8974/0.8974, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001188/0.001188, allocations: 188.6 kB / 182.2 MB, free: 9.434 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.808/1.808, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.00113/0.001131, allocations: 102.2 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002208/0.002208, allocations: 288.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.266e-05, allocations: 8 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.5533, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.7156, allocations: 109.1 MB / 0.864 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.716, allocations: 71.95 kB / 0.864 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01219/0.7282, allocations: 3.823 MB / 0.8678 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7282, allocations: 0 / 0.8678 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.7283, allocations: 0 / 0.8678 GB, free: 14.81 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004792/0.7287, allocations: 390.3 kB / 0.8682 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.7288, allocations: 8.031 kB / 0.8682 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/0.7292, allocations: 59.94 kB / 0.8682 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.7294, allocations: 175 kB / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.7294, allocations: 3.953 kB / 0.8684 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.7294, allocations: 0 / 0.8684 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.562e-05/0.7295, allocations: 28 kB / 0.8684 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.975e-05/0.7296, allocations: 45.67 kB / 0.8685 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7296, allocations: 0 / 0.8685 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.7297, allocations: 3.938 kB / 0.8685 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.7297, allocations: 0 / 0.8685 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.7302, allocations: 281.3 kB / 0.8687 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.732e-05/0.7302, allocations: 34.58 kB / 0.8688 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.7303, allocations: 20.92 kB / 0.8688 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.7303, allocations: 0 / 0.8688 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.7304, allocations: 30.56 kB / 0.8688 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.7304, allocations: 4 kB / 0.8688 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002788/0.7306, allocations: 65.67 kB / 0.8689 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.7307, allocations: 55.39 kB / 0.8689 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.7308, allocations: 96.94 kB / 0.869 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.7308, allocations: 25.7 kB / 0.869 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.7309, allocations: 84.14 kB / 0.8691 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.7309, allocations: 7.906 kB / 0.8691 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.7309, allocations: 4.031 kB / 0.8691 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.731, allocations: 310.8 kB / 0.8694 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.801e-05/0.7311, allocations: 15.98 kB / 0.8695 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.7311, allocations: 12 kB / 0.8695 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.7312, allocations: 23.97 kB / 0.8695 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.7313, allocations: 3.953 kB / 0.8695 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001768/0.7314, allocations: 73.64 kB / 0.8696 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7315, allocations: 11.94 kB / 0.8696 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7315, allocations: 0 / 0.8696 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7315, allocations: 4.234 kB / 0.8696 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.7317, allocations: 31.97 kB / 0.8696 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7317, allocations: 8.031 kB / 0.8696 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.7318, allocations: 23.97 kB / 0.8696 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.7318, allocations: 0 / 0.8696 GB, free: 12.71 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 (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 8.78e-05/0.7319, allocations: 104.9 kB / 0.8697 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001914/0.7321, allocations: 77.62 kB / 0.8698 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.7322, allocations: 0 / 0.8698 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.7322, allocations: 7.734 kB / 0.8698 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.7322, allocations: 0 / 0.8698 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7322, allocations: 7.938 kB / 0.8698 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7322, allocations: 0 / 0.8698 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.7324, allocations: 150.2 kB / 0.87 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.7324, allocations: 0 / 0.87 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.7325, allocations: 28 kB / 0.87 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7325, allocations: 0 / 0.87 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.7325, allocations: 4 kB / 0.87 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7326, allocations: 0 / 0.87 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7326, allocations: 0 / 0.87 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.7328, allocations: 179.3 kB / 0.8702 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.7329, allocations: 81.11 kB / 0.8702 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.7329, allocations: 0 / 0.8702 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.7331, allocations: 23.97 kB / 0.8703 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.7331, allocations: 4.031 kB / 0.8703 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.7331, allocations: 7.984 kB / 0.8703 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.712e-05/0.7332, allocations: 79.28 kB / 0.8704 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7332, allocations: 4 kB / 0.8704 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002223/0.7334, allocations: 12 kB / 0.8704 GB, free: 11.87 MB / 0.5417 GB 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 () * 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.0005637/0.734, allocations: 0.713 MB / 0.8711 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.7341, allocations: 27.94 kB / 0.8711 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.7341, allocations: 0 / 0.8711 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.975e-05/0.7341, allocations: 19.98 kB / 0.8711 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.7343, allocations: 4 kB / 0.8711 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.7349, allocations: 125.7 kB / 0.8712 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.7351, allocations: 0.6768 MB / 0.8719 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.216e-05/0.7352, allocations: 19.92 kB / 0.8719 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.7353, allocations: 19.38 kB / 0.8719 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.7353, allocations: 0 / 0.8719 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04445/0.7798, allocations: 1.071 MB / 0.873 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.78, allocations: 156.6 kB / 0.8731 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.445, allocations: 1.828 kB / 0.8731 GB, free: 8.926 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)