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.836/0.836, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001033/0.001033, allocations: 174.7 kB / 191.5 MB, free: 5.758 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.464/1.464, allocations: 223.2 MB / 447.7 MB, free: 4.836 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.001147/0.001147, allocations: 88.31 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 277.8 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004509, allocations: 13.5 kB / 0.6929 GB, free: 59.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1937, allocations: 82.8 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5179/0.7116, allocations: 109.8 MB / 0.881 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.7119, allocations: 75.62 kB / 0.8811 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01105/0.723, allocations: 3.843 MB / 0.8848 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.908e-06/0.723, allocations: 0 / 0.8848 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.7231, allocations: 3.938 kB / 0.8848 GB, free: 107.6 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.0004891/0.7236, allocations: 395.8 kB / 0.8852 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.7236, allocations: 12.03 kB / 0.8852 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.7237, allocations: 31.55 kB / 0.8853 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/0.724, allocations: 67.69 kB / 0.8853 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.627e-05/0.7241, allocations: 168 kB / 0.8855 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.7242, allocations: 11.88 kB / 0.8855 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.7242, allocations: 4 kB / 0.8855 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.7245, allocations: 93.02 kB / 0.8856 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.7246, allocations: 4 kB / 0.8856 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.7246, allocations: 0 / 0.8856 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7246, allocations: 0.8438 kB / 0.8856 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.725, allocations: 113.5 kB / 0.8857 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.7255, allocations: 296.6 kB / 0.886 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.7259, allocations: 116.5 kB / 0.8861 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.7259, allocations: 0 / 0.8861 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.726, allocations: 34.27 kB / 0.8861 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.726, allocations: 0 / 0.8861 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0007316/0.7267, allocations: 211.1 kB / 0.8863 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.7268, allocations: 55.89 kB / 0.8864 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/0.7268, allocations: 90.75 kB / 0.8865 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.7268, allocations: 25.7 kB / 0.8865 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.7269, allocations: 88.45 kB / 0.8866 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.7269, allocations: 4.422 kB / 0.8866 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.7269, allocations: 0 / 0.8866 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.864e-05/0.727, allocations: 322.1 kB / 0.8869 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.7273, allocations: 56.25 kB / 0.8869 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.7275, allocations: 59.23 kB / 0.887 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.7277, allocations: 54.77 kB / 0.8871 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7277, allocations: 0 / 0.8871 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004409/0.7281, allocations: 149.6 kB / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.7282, allocations: 5.344 kB / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7282, allocations: 0.5625 kB / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.7282, allocations: 0 / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.7284, allocations: 37.33 kB / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7284, allocations: 0 / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.7285, allocations: 18.86 kB / 0.8873 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.7285, allocations: 3.359 kB / 0.8873 GB, free: 105.8 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 () * 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 6.535e-05/0.7286, allocations: 117.7 kB / 0.8874 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.7286, allocations: 0 / 0.8874 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.7287, allocations: 7.812 kB / 0.8874 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.7287, allocations: 6.406 kB / 0.8874 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7287, allocations: 5.156 kB / 0.8874 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.7287, allocations: 0 / 0.8874 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.7289, allocations: 171.8 kB / 0.8876 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.7289, allocations: 0 / 0.8876 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.729, allocations: 33.69 kB / 0.8876 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.729, allocations: 0 / 0.8876 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.7291, allocations: 0.6094 kB / 0.8876 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.7291, allocations: 0.5625 kB / 0.8876 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.7291, allocations: 2.719 kB / 0.8876 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.7295, allocations: 248.9 kB / 0.8878 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.7296, allocations: 80.31 kB / 0.8879 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.7296, allocations: 1.562 kB / 0.8879 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.7298, allocations: 26.62 kB / 0.8879 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.7298, allocations: 5.422 kB / 0.8879 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.7298, allocations: 3.219 kB / 0.8879 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.925e-05/0.7299, allocations: 80.12 kB / 0.888 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7299, allocations: 0 / 0.888 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002369/0.7301, allocations: 19.55 kB / 0.888 GB, free: 105.2 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 () * 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.0007214/0.7308, allocations: 0.7927 MB / 0.8888 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004798/0.7313, allocations: 119.4 kB / 0.8889 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7313, allocations: 64 / 0.8889 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.7316, allocations: 57.42 kB / 0.889 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.7318, allocations: 14.39 kB / 0.889 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.7325, allocations: 213.9 kB / 0.8892 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.7326, allocations: 0.6801 MB / 0.8899 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.857e-05/0.7327, allocations: 11.12 kB / 0.8899 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.7328, allocations: 12.17 kB / 0.8899 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/0.7328, allocations: 0 / 0.8899 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.7441, allocations: 1.406 MB / 0.8913 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.7443, allocations: 191 kB / 0.8914 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/2.365, allocations: 2.109 kB / 0.8914 GB, free: 103.2 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)