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.001274/0.001274, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002454/0.002454, allocations: 282.7 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 105.9 kB / 0.6066 GB, free: 24.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1661, allocations: 89.14 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002683/0.1689, allocations: 1.444 MB / 0.695 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1702, allocations: 0.7923 MB / 0.6958 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.342e-05/0.1702, allocations: 0 / 0.6958 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.1702, allocations: 7.922 kB / 0.6958 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.899e-05/0.1703, allocations: 7.938 kB / 0.6958 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.1707, allocations: 119.3 kB / 0.6959 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.271e-05/0.1708, allocations: 35.92 kB / 0.6959 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.445e-05/0.1709, allocations: 7.984 kB / 0.696 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.291e-05/0.171, allocations: 15.98 kB / 0.696 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.128e-05/0.171, allocations: 23.91 kB / 0.696 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1711, allocations: 4 kB / 0.696 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/0.1715, allocations: 319.3 kB / 0.6963 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.1716, allocations: 7.984 kB / 0.6963 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.1716, allocations: 11.94 kB / 0.6963 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.172, allocations: 199.8 kB / 0.6965 GB, free: 1.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.172, allocations: 0 / 0.6965 GB, free: 1.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.172, allocations: 0 / 0.6965 GB, free: 1.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.172, allocations: 0 / 0.6965 GB, free: 1.242 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.0006006/0.1726, allocations: 379.5 kB / 0.6969 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1726, allocations: 8.031 kB / 0.6969 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.1727, allocations: 34.69 kB / 0.6969 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004733/0.1732, allocations: 68.84 kB / 0.697 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1733, allocations: 172.2 kB / 0.6971 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.1734, allocations: 384 / 0.6971 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1734, allocations: 8.375 kB / 0.6972 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.1737, allocations: 85.75 kB / 0.6972 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1737, allocations: 0 / 0.6972 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1737, allocations: 0 / 0.6972 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1737, allocations: 0 / 0.6972 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.1742, allocations: 99.83 kB / 0.6973 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.1747, allocations: 292.9 kB / 0.6976 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.1751, allocations: 94.48 kB / 0.6977 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.1754, allocations: 52.88 kB / 0.6977 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1754, allocations: 0 / 0.6977 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1754, allocations: 38.5 kB / 0.6978 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1754, allocations: 0 / 0.6978 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007505/0.1762, allocations: 165.5 kB / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1762, allocations: 55.41 kB / 0.698 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.1763, allocations: 102 kB / 0.6981 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1764, allocations: 25.7 kB / 0.6981 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.1764, allocations: 84.12 kB / 0.6982 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1764, allocations: 7.906 kB / 0.6982 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.1765, allocations: 17.72 kB / 0.6982 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1766, allocations: 314.8 kB / 0.6985 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.1768, allocations: 47.94 kB / 0.6986 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.1771, allocations: 48.2 kB / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.1775, allocations: 92.77 kB / 0.6987 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1775, allocations: 8 kB / 0.6987 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00046/0.1779, allocations: 121.5 kB / 0.6988 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.178, allocations: 7.984 kB / 0.6988 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.178, allocations: 0 / 0.6988 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.178, allocations: 0 / 0.6988 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1782, allocations: 19.98 kB / 0.6989 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1782, allocations: 3.984 kB / 0.6989 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1783, allocations: 16.02 kB / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1783, allocations: 7.938 kB / 0.6989 GB, free: 14.58 MB / 0.4981 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 9.252e-05/0.1784, allocations: 114.4 kB / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.1785, allocations: 0 / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.1785, allocations: 11.11 kB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1785, allocations: 3.984 kB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1785, allocations: 3.938 kB / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1785, allocations: 0 / 0.699 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.1787, allocations: 181.5 kB / 0.6992 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1787, allocations: 0 / 0.6992 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.1789, allocations: 15.98 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1789, allocations: 4 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1789, allocations: 3.984 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1789, allocations: 0 / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1789, allocations: 0 / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.1794, allocations: 223.4 kB / 0.6994 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.1795, allocations: 81.02 kB / 0.6995 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1795, allocations: 0 / 0.6995 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.1796, allocations: 15.98 kB / 0.6995 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.1797, allocations: 7.984 kB / 0.6995 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1797, allocations: 4 kB / 0.6995 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.1797, allocations: 79.28 kB / 0.6996 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.881e-06/0.1798, allocations: 4.031 kB / 0.6996 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002482/0.18, allocations: 15.92 kB / 0.6996 GB, free: 13.74 MB / 0.4981 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.0008567/0.1809, allocations: 0.7592 MB / 0.7004 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.1814, allocations: 95.92 kB / 0.7004 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1814, allocations: 0 / 0.7004 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.1816, allocations: 55.95 kB / 0.7005 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.1819, allocations: 4.188 kB / 0.7005 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007006/0.1826, allocations: 187.2 kB / 0.7007 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1829, allocations: 0.6807 MB / 0.7013 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.335e-05/0.183, allocations: 12 kB / 0.7014 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.183, allocations: 15.42 kB / 0.7014 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.183, allocations: 3.938 kB / 0.7014 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.2056, allocations: 1.671 MB / 0.703 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/7.56, allocations: 22.61 kB / 0.703 GB, free: 10.24 MB / 0.4981 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)