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.001149/0.001149, 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.001141/0.001141, allocations: 194.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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002178/0.002178, allocations: 283 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9562/0.9562, allocations: 169.3 MB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 102.7 kB / 0.5954 GB, free: 27.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1432, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.00289/0.1461, allocations: 1.423 MB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1473, allocations: 0.7912 MB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.1474, allocations: 0.875 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.1475, allocations: 0 / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.1475, allocations: 8.516 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.1481, allocations: 130.9 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.617e-05/0.1482, allocations: 35.92 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1483, allocations: 0 / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.219e-05/0.1483, allocations: 19.97 kB / 0.6826 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.1484, allocations: 19.92 kB / 0.6827 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1484, allocations: 0 / 0.6827 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004771/0.1489, allocations: 319.4 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.1489, allocations: 11.97 kB / 0.683 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.149, allocations: 11.94 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.1494, allocations: 199.8 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1494, allocations: 0 / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1494, allocations: 4 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1494, allocations: 0 / 0.6832 GB, free: 13.62 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.0006126/0.1501, allocations: 371.5 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1501, allocations: 12.03 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.1502, allocations: 30.75 kB / 0.6836 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004787/0.1506, allocations: 68.84 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.1508, allocations: 176.3 kB / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.1508, allocations: 4.312 kB / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.1508, allocations: 4.375 kB / 0.6838 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.1512, allocations: 93.73 kB / 0.6839 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1512, allocations: 0 / 0.6839 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1512, allocations: 0 / 0.6839 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1512, allocations: 0 / 0.6839 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.1516, allocations: 91.89 kB / 0.684 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.1522, allocations: 296.8 kB / 0.6843 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.1526, allocations: 98.44 kB / 0.6844 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.1528, allocations: 56.86 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1528, allocations: 0 / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1529, allocations: 30.56 kB / 0.6845 GB, free: 12.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1529, allocations: 3.938 kB / 0.6845 GB, free: 12.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007022/0.1536, allocations: 169.6 kB / 0.6846 GB, free: 11.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1536, allocations: 55.34 kB / 0.6847 GB, free: 11.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.1537, allocations: 101.9 kB / 0.6848 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1537, allocations: 25.7 kB / 0.6848 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.1538, allocations: 84.14 kB / 0.6849 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.1538, allocations: 11.89 kB / 0.6849 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.1538, allocations: 9.719 kB / 0.6849 GB, free: 11.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.1539, allocations: 318.8 kB / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.1541, allocations: 47.98 kB / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.1543, allocations: 47.94 kB / 0.6853 GB, free: 11.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.1547, allocations: 92.83 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1548, allocations: 0 / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004395/0.1552, allocations: 113.6 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1552, allocations: 11.94 kB / 0.6855 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1552, allocations: 0 / 0.6855 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1553, allocations: 0 / 0.6855 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1554, allocations: 19.97 kB / 0.6855 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1554, allocations: 4.031 kB / 0.6855 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.1556, allocations: 23.97 kB / 0.6855 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1556, allocations: 7.922 kB / 0.6856 GB, free: 10.96 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.957e-05/0.1557, allocations: 114.4 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.1557, allocations: 3.906 kB / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.1558, allocations: 11.11 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.1558, allocations: 4 kB / 0.6857 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1558, allocations: 4 kB / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1558, allocations: 0 / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.156, allocations: 165.6 kB / 0.6858 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.156, allocations: 256 / 0.6858 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.1561, allocations: 23.97 kB / 0.6859 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1561, allocations: 4 kB / 0.6859 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1562, allocations: 7.984 kB / 0.6859 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1562, allocations: 0 / 0.6859 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1562, allocations: 4 kB / 0.6859 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.1566, allocations: 215.3 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.1567, allocations: 85.09 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1567, allocations: 0 / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.1568, allocations: 15.98 kB / 0.6862 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.1569, allocations: 3.984 kB / 0.6862 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.1569, allocations: 8.031 kB / 0.6862 GB, free: 10.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.733e-05/0.1569, allocations: 79.28 kB / 0.6863 GB, free: 10.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1569, allocations: 0 / 0.6863 GB, free: 10.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1572, allocations: 15.94 kB / 0.6863 GB, free: 10.11 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.0007839/0.158, allocations: 0.7669 MB / 0.687 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000481/0.1585, allocations: 99.88 kB / 0.6871 GB, free: 9.219 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1585, allocations: 4 kB / 0.6871 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.1587, allocations: 47.94 kB / 0.6872 GB, free: 9.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.159, allocations: 0 / 0.6872 GB, free: 9.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007155/0.1598, allocations: 191.8 kB / 0.6874 GB, free: 8.941 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.16, allocations: 0.6807 MB / 0.688 GB, free: 8.234 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.263e-05/0.1601, allocations: 8 kB / 0.688 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.1601, allocations: 19.42 kB / 0.6881 GB, free: 8.207 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1601, allocations: 3.938 kB / 0.6881 GB, free: 8.203 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01641/0.1766, allocations: 1.667 MB / 0.6897 GB, free: 6.637 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.033, allocations: 5.281 kB / 0.6897 GB, free: 6.633 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 & 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)