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.8385/0.8385, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001144, allocations: 182.3 kB / 187.3 MB, free: 11.88 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.574/1.574, allocations: 221.3 MB / 441.4 MB, free: 4.645 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.0008928/0.0008928, allocations: 98.73 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 263.1 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.498e-05/4.525e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5329/0.533, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.6764, allocations: 109.7 MB / 0.8715 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.6767, allocations: 71.95 kB / 0.8716 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01274/0.6895, allocations: 3.827 MB / 0.8753 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6895, allocations: 0 / 0.8753 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.6895, allocations: 0 / 0.8753 GB, free: 10.9 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.000549/0.6901, allocations: 382.3 kB / 0.8757 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.6902, allocations: 16.02 kB / 0.8757 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.6902, allocations: 34.56 kB / 0.8757 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003985/0.6906, allocations: 59.94 kB / 0.8758 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.6908, allocations: 171 kB / 0.876 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.6908, allocations: 7.938 kB / 0.876 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.6909, allocations: 3.938 kB / 0.876 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.691, allocations: 57.56 kB / 0.876 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.691, allocations: 0 / 0.876 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.691, allocations: 0 / 0.876 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6911, allocations: 0 / 0.876 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.285e-05/0.6911, allocations: 27.98 kB / 0.8761 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.6917, allocations: 292.8 kB / 0.8763 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.6918, allocations: 38.56 kB / 0.8764 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.6919, allocations: 20.86 kB / 0.8764 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.6919, allocations: 4 kB / 0.8764 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.6919, allocations: 34.56 kB / 0.8764 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 6.482e-06/0.6919, allocations: 3.984 kB / 0.8764 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002115/0.6922, allocations: 53.69 kB / 0.8765 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.6922, allocations: 55.41 kB / 0.8765 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.6923, allocations: 89 kB / 0.8766 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.6923, allocations: 25.7 kB / 0.8767 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.6924, allocations: 88.17 kB / 0.8767 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.6924, allocations: 7.906 kB / 0.8767 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.6924, allocations: 0 / 0.8767 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6926, allocations: 322.8 kB / 0.8771 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-05/0.6926, allocations: 12 kB / 0.8771 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.039e-05/0.6927, allocations: 11.94 kB / 0.8771 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.6927, allocations: 12.59 kB / 0.8771 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6927, allocations: 0 / 0.8771 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001344/0.6929, allocations: 58 kB / 0.8771 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6929, allocations: 5.094 kB / 0.8771 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6929, allocations: 0 / 0.8771 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.6929, allocations: 0 / 0.8771 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.6931, allocations: 31.97 kB / 0.8772 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6931, allocations: 0 / 0.8772 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.6933, allocations: 31.91 kB / 0.8772 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.6933, allocations: 0 / 0.8772 GB, free: 8.762 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.772e-05/0.6934, allocations: 108.9 kB / 0.8773 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.6934, allocations: 0 / 0.8773 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.6934, allocations: 11.06 kB / 0.8773 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.6935, allocations: 4 kB / 0.8773 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6935, allocations: 4 kB / 0.8773 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6935, allocations: 0 / 0.8773 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.6937, allocations: 177.5 kB / 0.8775 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.6937, allocations: 0 / 0.8775 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.6938, allocations: 27.97 kB / 0.8775 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6938, allocations: 0 / 0.8775 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.6939, allocations: 7.938 kB / 0.8775 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.6939, allocations: 0 / 0.8775 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.6939, allocations: 0 / 0.8775 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.6941, allocations: 147.5 kB / 0.8777 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.6941, allocations: 81.11 kB / 0.8778 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.6941, allocations: 4 kB / 0.8778 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.6943, allocations: 28 kB / 0.8778 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.6944, allocations: 0 / 0.8778 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.6944, allocations: 7.984 kB / 0.8778 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.6944, allocations: 79.28 kB / 0.8779 GB, free: 8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6944, allocations: 0 / 0.8779 GB, free: 8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002274/0.6947, allocations: 19.91 kB / 0.8779 GB, free: 7.98 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.0005952/0.6953, allocations: 0.6967 MB / 0.8786 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.6954, allocations: 35.98 kB / 0.8786 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6954, allocations: 0 / 0.8786 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.3e-05/0.6955, allocations: 15.94 kB / 0.8786 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.6957, allocations: 12.16 kB / 0.8786 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.6963, allocations: 134.5 kB / 0.8788 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.6966, allocations: 0.677 MB / 0.8794 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.479e-05/0.6967, allocations: 12 kB / 0.8794 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.6968, allocations: 11.44 kB / 0.8794 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.6968, allocations: 0 / 0.8794 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.7127, allocations: 1.413 MB / 0.8808 GB, free: 5.039 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.7131, allocations: 166.1 kB / 0.881 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.53, allocations: 0 / 0.881 GB, free: 4.816 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)