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.0009241/0.0009241, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.005862/0.005863, allocations: 171 kB / 16.26 MB, free: 6.613 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.345/1.345, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001642/0.001642, allocations: 266.7 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9153/0.9153, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004395, allocations: 14.25 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.18, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.001619/0.1817, allocations: 1.161 MB / 0.6864 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1829, allocations: 0.7973 MB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.1829, allocations: 3.938 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.183, allocations: 2.156 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.183, allocations: 0 / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.1835, allocations: 97.88 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.227e-05/0.1836, allocations: 27.92 kB / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.1837, allocations: 12.55 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.797e-05/0.1837, allocations: 11.98 kB / 0.6873 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.1838, allocations: 21.12 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1838, allocations: 4 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.1843, allocations: 315.4 kB / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.1843, allocations: 5.391 kB / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.1844, allocations: 37.62 kB / 0.6877 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.1847, allocations: 187.9 kB / 0.6878 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1847, allocations: 5.344 kB / 0.6878 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.1847, allocations: 3.984 kB / 0.6878 GB, free: 12.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1847, allocations: 0 / 0.6878 GB, free: 12.28 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.0005087/0.1852, allocations: 370.6 kB / 0.6882 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1853, allocations: 12.03 kB / 0.6882 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.1853, allocations: 34.69 kB / 0.6882 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004669/0.1858, allocations: 83.12 kB / 0.6883 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.1859, allocations: 168.3 kB / 0.6885 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.186, allocations: 4.375 kB / 0.6885 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.186, allocations: 8.312 kB / 0.6885 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.1863, allocations: 94.34 kB / 0.6886 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.1863, allocations: 0 / 0.6886 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1863, allocations: 0 / 0.6886 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1863, allocations: 4 kB / 0.6886 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004345/0.1868, allocations: 116.7 kB / 0.6887 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.1873, allocations: 316.7 kB / 0.689 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.1877, allocations: 110.5 kB / 0.6891 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.188, allocations: 60.88 kB / 0.6892 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.188, allocations: 4 kB / 0.6892 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.188, allocations: 38.55 kB / 0.6892 GB, free: 10.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.188, allocations: 0 / 0.6892 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000764/0.1888, allocations: 205.6 kB / 0.6894 GB, free: 10.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.1888, allocations: 51.41 kB / 0.6895 GB, free: 10.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.1889, allocations: 109.9 kB / 0.6896 GB, free: 10.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1889, allocations: 25.7 kB / 0.6896 GB, free: 10.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.189, allocations: 80.14 kB / 0.6897 GB, free: 10.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.189, allocations: 11.84 kB / 0.6897 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.1891, allocations: 9.719 kB / 0.6897 GB, free: 10.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1892, allocations: 322.8 kB / 0.69 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.1894, allocations: 55.95 kB / 0.69 GB, free: 9.828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.1896, allocations: 59.95 kB / 0.6901 GB, free: 9.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.19, allocations: 116.8 kB / 0.6902 GB, free: 9.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.19, allocations: 0 / 0.6902 GB, free: 9.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004656/0.1905, allocations: 149.5 kB / 0.6904 GB, free: 9.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1905, allocations: 4 kB / 0.6904 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1906, allocations: 0 / 0.6904 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1906, allocations: 0 / 0.6904 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.1907, allocations: 27.97 kB / 0.6904 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1908, allocations: 0 / 0.6904 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.1909, allocations: 24.27 kB / 0.6904 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1909, allocations: 7.984 kB / 0.6904 GB, free: 9.438 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 8.57e-05/0.191, allocations: 114.4 kB / 0.6905 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.191, allocations: 3.938 kB / 0.6905 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.1911, allocations: 11.12 kB / 0.6905 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1911, allocations: 4 kB / 0.6905 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1911, allocations: 0 / 0.6905 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1911, allocations: 0 / 0.6905 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.1913, allocations: 177.5 kB / 0.6907 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1913, allocations: 0 / 0.6907 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1914, allocations: 27.97 kB / 0.6907 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1914, allocations: 4 kB / 0.6907 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1915, allocations: 0 / 0.6907 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1915, allocations: 3.984 kB / 0.6907 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1915, allocations: 3.938 kB / 0.6907 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.192, allocations: 247.4 kB / 0.691 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.1921, allocations: 77.11 kB / 0.6911 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1921, allocations: 0 / 0.6911 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1922, allocations: 23.97 kB / 0.6911 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.1923, allocations: 8.031 kB / 0.6911 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1923, allocations: 0 / 0.6911 GB, free: 8.652 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.506e-05/0.1923, allocations: 87.27 kB / 0.6912 GB, free: 8.566 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1923, allocations: 0 / 0.6912 GB, free: 8.566 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.1926, allocations: 12 kB / 0.6912 GB, free: 8.555 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.0008998/0.1935, allocations: 0.7893 MB / 0.692 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000478/0.194, allocations: 123.9 kB / 0.6921 GB, free: 7.617 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.194, allocations: 0 / 0.6921 GB, free: 7.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.1943, allocations: 59.95 kB / 0.6921 GB, free: 7.559 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.1946, allocations: 8 kB / 0.6921 GB, free: 7.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.1953, allocations: 222.4 kB / 0.6923 GB, free: 7.297 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.1955, allocations: 0.6731 MB / 0.693 GB, free: 6.598 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.427e-05/0.1956, allocations: 8 kB / 0.693 GB, free: 6.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.1957, allocations: 15.42 kB / 0.693 GB, free: 6.574 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1957, allocations: 0 / 0.693 GB, free: 6.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.2078, allocations: 1.418 MB / 0.6944 GB, free: 5.309 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.2081, allocations: 215.6 kB / 0.6946 GB, free: 5.051 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/1.743, allocations: 0 / 0.6946 GB, free: 5.051 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)