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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 196.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001927/0.001927, allocations: 283.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9044/0.9044, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 98.03 kB / 0.5946 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1754, allocations: 86.98 MB / 0.6795 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002794/0.1783, allocations: 1.496 MB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1796, allocations: 0.8154 MB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.1796, allocations: 0 / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.1797, allocations: 3.938 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.1798, allocations: 1.719 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.1801, allocations: 97.28 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.09e-05/0.1802, allocations: 31.92 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.027e-05/0.1803, allocations: 0.625 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.63e-05/0.1803, allocations: 17.39 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.472e-05/0.1804, allocations: 23.91 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1804, allocations: 3.984 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/0.1809, allocations: 308 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.1809, allocations: 7.984 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.1809, allocations: 19.92 kB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.1813, allocations: 191.9 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1813, allocations: 4 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1813, allocations: 0 / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1813, allocations: 0 / 0.6825 GB, free: 14.07 MB / 494.1 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.0005348/0.1818, allocations: 371.5 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1819, allocations: 8.031 kB / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.1819, allocations: 30.75 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.1824, allocations: 72.78 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.1825, allocations: 168.3 kB / 0.6831 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.1826, allocations: 12.23 kB / 0.6831 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.1826, allocations: 4.375 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.1829, allocations: 85.75 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1829, allocations: 0 / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1829, allocations: 4 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1829, allocations: 0 / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.1833, allocations: 91.91 kB / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.1839, allocations: 300.8 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.1843, allocations: 102.5 kB / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.1845, allocations: 56.81 kB / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.1845, allocations: 0 / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1845, allocations: 30.56 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1845, allocations: 0 / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007237/0.1853, allocations: 169.6 kB / 0.6839 GB, free: 12.42 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1853, allocations: 59.34 kB / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.1854, allocations: 97.84 kB / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1854, allocations: 29.7 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.1855, allocations: 84.14 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1855, allocations: 3.906 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.1855, allocations: 21.75 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1857, allocations: 318.8 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.1859, allocations: 39.95 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.1861, allocations: 47.95 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.1864, allocations: 88.83 kB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1865, allocations: 0 / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004148/0.1869, allocations: 125.6 kB / 0.6848 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1869, allocations: 7.938 kB / 0.6848 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1869, allocations: 256 / 0.6848 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1869, allocations: 0 / 0.6848 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.1871, allocations: 32 kB / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1871, allocations: 0 / 0.6848 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.1872, allocations: 11.98 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1872, allocations: 7.984 kB / 0.6849 GB, free: 11.41 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.248e-05/0.1873, allocations: 122.4 kB / 0.685 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.1874, allocations: 3.906 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.1874, allocations: 7.125 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1874, allocations: 0 / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1874, allocations: 0 / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1874, allocations: 0 / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.1876, allocations: 173.6 kB / 0.6851 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1876, allocations: 3.938 kB / 0.6851 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.1878, allocations: 19.97 kB / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1878, allocations: 8 kB / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1878, allocations: 0 / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1878, allocations: 0 / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1878, allocations: 0 / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.1883, allocations: 223.3 kB / 0.6854 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.1883, allocations: 77.11 kB / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1884, allocations: 0 / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1885, allocations: 24 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.1886, allocations: 0 / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1886, allocations: 4 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.085e-05/0.1886, allocations: 87.27 kB / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1886, allocations: 0 / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1889, allocations: 12 kB / 0.6856 GB, free: 10.56 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008642/0.1897, allocations: 0.7658 MB / 0.6863 GB, free: 9.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.1902, allocations: 103.9 kB / 0.6864 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1902, allocations: 0 / 0.6864 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.1904, allocations: 43.95 kB / 0.6865 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1907, allocations: 13.84 kB / 0.6865 GB, free: 9.613 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006929/0.1914, allocations: 197.1 kB / 0.6867 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1917, allocations: 0.677 MB / 0.6873 GB, free: 8.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.597e-05/0.1918, allocations: 8 kB / 0.6873 GB, free: 8.672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.1918, allocations: 7.438 kB / 0.6873 GB, free: 8.664 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1918, allocations: 0 / 0.6873 GB, free: 8.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.2032, allocations: 1.49 MB / 0.6888 GB, free: 7.297 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.2035, allocations: 220.3 kB / 0.689 GB, free: 7.035 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.785, allocations: 0 / 0.689 GB, free: 7.035 MB / 494.1 MB (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/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)