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.009582/0.00959, allocations: 103.2 kB / 15.74 MB, free: 6.449 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.002056/0.002056, allocations: 199.4 kB / 16.68 MB, free: 6.352 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002502/0.002502, allocations: 286.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 95.91 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1758, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002764/0.1786, allocations: 1.441 MB / 0.7673 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1802, allocations: 0.7841 MB / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.1803, allocations: 4 kB / 0.7681 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.1803, allocations: 3.938 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.799e-05/0.1804, allocations: 11.88 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.1809, allocations: 119.5 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.406e-05/0.181, allocations: 39.92 kB / 0.7683 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1811, allocations: 7.984 kB / 0.7683 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.1812, allocations: 8 kB / 0.7683 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.1813, allocations: 27.84 kB / 0.7683 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1813, allocations: 4 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.1819, allocations: 315.3 kB / 0.7686 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.1819, allocations: 4 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.182, allocations: 15.92 kB / 0.7686 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.1823, allocations: 199.7 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1823, allocations: 0 / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1823, allocations: 4 kB / 0.7688 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.1824, allocations: 4 kB / 0.7688 GB, free: 5.941 MB / 0.5606 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.00066/0.183, allocations: 379 kB / 0.7692 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1831, allocations: 8.031 kB / 0.7692 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.1831, allocations: 34.73 kB / 0.7692 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000448/0.1836, allocations: 64.86 kB / 0.7693 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1838, allocations: 168.3 kB / 0.7694 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.1838, allocations: 8.312 kB / 0.7695 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1838, allocations: 4.375 kB / 0.7695 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1841, allocations: 85.75 kB / 0.7695 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1842, allocations: 0 / 0.7695 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1842, allocations: 0 / 0.7695 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1842, allocations: 0 / 0.7695 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.1846, allocations: 95.84 kB / 0.7696 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.1852, allocations: 304.8 kB / 0.7699 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.1857, allocations: 94.5 kB / 0.77 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.1859, allocations: 52.88 kB / 0.7701 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1859, allocations: 0 / 0.7701 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.186, allocations: 30.56 kB / 0.7701 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 4.639e-06/0.186, allocations: 4 kB / 0.7701 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0007608/0.1867, allocations: 169.6 kB / 0.7703 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1868, allocations: 55.41 kB / 0.7703 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.1869, allocations: 101.8 kB / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1869, allocations: 25.7 kB / 0.7704 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.187, allocations: 88.09 kB / 0.7705 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.187, allocations: 3.953 kB / 0.7705 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.1871, allocations: 21.7 kB / 0.7705 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1872, allocations: 314.8 kB / 0.7708 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.1874, allocations: 43.98 kB / 0.7709 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.1877, allocations: 51.95 kB / 0.7709 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.1881, allocations: 92.77 kB / 0.771 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1881, allocations: 0 / 0.771 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004611/0.1886, allocations: 121.8 kB / 0.7711 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1886, allocations: 4 kB / 0.7711 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.1886, allocations: 0 / 0.7711 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1886, allocations: 3.938 kB / 0.7711 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.1888, allocations: 27.97 kB / 0.7712 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1888, allocations: 4.031 kB / 0.7712 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1889, allocations: 19.91 kB / 0.7712 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.189, allocations: 4 kB / 0.7712 GB, free: 3.273 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.1891, allocations: 118.4 kB / 0.7713 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1891, allocations: 0 / 0.7713 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.1891, allocations: 7.125 kB / 0.7713 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1891, allocations: 4 kB / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1891, allocations: 0 / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1892, allocations: 0 / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.1894, allocations: 173.6 kB / 0.7715 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1894, allocations: 3.938 kB / 0.7715 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.1895, allocations: 23.97 kB / 0.7715 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1895, allocations: 0 / 0.7715 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.1896, allocations: 0 / 0.7715 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1896, allocations: 0 / 0.7715 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1896, allocations: 4 kB / 0.7715 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.1901, allocations: 223.3 kB / 0.7717 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.1902, allocations: 77.11 kB / 0.7718 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1902, allocations: 4 kB / 0.7718 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.1904, allocations: 15.97 kB / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.1904, allocations: 8.031 kB / 0.7718 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.1904, allocations: 11.97 kB / 0.7718 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.619e-05/0.1905, allocations: 79.28 kB / 0.7719 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1905, allocations: 0 / 0.7719 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002424/0.1907, allocations: 12 kB / 0.7719 GB, free: 2.434 MB / 0.5606 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 (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.0009337/0.1917, allocations: 0.763 MB / 0.7727 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004897/0.1922, allocations: 95.94 kB / 0.7728 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1922, allocations: 0 / 0.7728 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.1924, allocations: 51.89 kB / 0.7728 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1928, allocations: 7.984 kB / 0.7728 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/0.1935, allocations: 187.1 kB / 0.773 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.1939, allocations: 0.6807 MB / 0.7737 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.293e-05/0.194, allocations: 11.94 kB / 0.7737 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.194, allocations: 15.44 kB / 0.7737 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of SimCode: time 2.304e-06/0.194, allocations: 0 / 0.7737 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3468/0.5408, allocations: 1.692 MB / 0.7753 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.37, allocations: 4.375 kB / 0.7753 GB, free: 14.94 MB / 0.5606 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)