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.001228/0.001228, allocations: 101.4 kB / 15.7 MB, free: 28 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.001241/0.001241, allocations: 194.2 kB / 16.64 MB, free: 6.586 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.259/1.259, allocations: 222.9 MB / 240.3 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 283 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8971/0.8971, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 100.1 kB / 0.5955 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1659, allocations: 86.98 MB / 0.6805 GB, free: 484 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.002364/0.1683, allocations: 1.43 MB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1693, allocations: 0.799 MB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.1694, allocations: 0 / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.1694, allocations: 3.938 kB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.1694, allocations: 3.938 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.1699, allocations: 127.5 kB / 0.6828 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.942e-05/0.1699, allocations: 31.92 kB / 0.6828 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.17, allocations: 11.97 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.1701, allocations: 19.92 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.409e-05/0.1701, allocations: 15.98 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1702, allocations: 0 / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.1706, allocations: 323.3 kB / 0.6831 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.1706, allocations: 7.938 kB / 0.6832 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.1706, allocations: 23.86 kB / 0.6832 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.1709, allocations: 195.9 kB / 0.6834 GB, free: 13.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1709, allocations: 0 / 0.6834 GB, free: 13.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1709, allocations: 0 / 0.6834 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1709, allocations: 0 / 0.6834 GB, free: 13.48 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.0005006/0.1714, allocations: 375.4 kB / 0.6837 GB, free: 13.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1715, allocations: 12.03 kB / 0.6837 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.1715, allocations: 30.75 kB / 0.6838 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/0.172, allocations: 64.84 kB / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1721, allocations: 172.3 kB / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.1721, allocations: 4.375 kB / 0.684 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1721, allocations: 384 / 0.684 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.1724, allocations: 85.75 kB / 0.6841 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1725, allocations: 0 / 0.6841 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1725, allocations: 4 kB / 0.6841 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1725, allocations: 4 kB / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.1729, allocations: 91.84 kB / 0.6842 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.1734, allocations: 296.8 kB / 0.6845 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003379/0.1737, allocations: 94.5 kB / 0.6845 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.1739, allocations: 52.88 kB / 0.6846 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.174, allocations: 0 / 0.6846 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.174, allocations: 38.48 kB / 0.6846 GB, free: 12.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.174, allocations: 3.938 kB / 0.6846 GB, free: 12.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000654/0.1746, allocations: 165.7 kB / 0.6848 GB, free: 11.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1747, allocations: 51.41 kB / 0.6848 GB, free: 11.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/0.1748, allocations: 105.8 kB / 0.6849 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1748, allocations: 25.7 kB / 0.685 GB, free: 11.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.1748, allocations: 80.14 kB / 0.685 GB, free: 11.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.1749, allocations: 11.84 kB / 0.6851 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.1749, allocations: 21.73 kB / 0.6851 GB, free: 11.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.175, allocations: 314.8 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.1752, allocations: 47.95 kB / 0.6854 GB, free: 11.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.1754, allocations: 43.95 kB / 0.6855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.1757, allocations: 92.77 kB / 0.6855 GB, free: 11.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1758, allocations: 4 kB / 0.6856 GB, free: 11.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004109/0.1762, allocations: 117.8 kB / 0.6857 GB, free: 10.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1762, allocations: 8 kB / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1762, allocations: 0 / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1762, allocations: 0 / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.1764, allocations: 28 kB / 0.6857 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1764, allocations: 0 / 0.6857 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.1765, allocations: 19.97 kB / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1765, allocations: 4 kB / 0.6857 GB, free: 10.83 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 7.427e-05/0.1766, allocations: 114.4 kB / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.1766, allocations: 7.906 kB / 0.6858 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.1767, allocations: 3.125 kB / 0.6858 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1767, allocations: 0 / 0.6858 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1767, allocations: 4 kB / 0.6858 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1767, allocations: 7.922 kB / 0.6859 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1769, allocations: 169.6 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1769, allocations: 0 / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.177, allocations: 19.97 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.177, allocations: 4 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.177, allocations: 0 / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.177, allocations: 4 kB / 0.686 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.177, allocations: 0 / 0.686 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.1775, allocations: 219.4 kB / 0.6863 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.1775, allocations: 77.11 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.1776, allocations: 7.984 kB / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1777, allocations: 20.02 kB / 0.6864 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.1777, allocations: 7.969 kB / 0.6864 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.1777, allocations: 0 / 0.6864 GB, free: 10.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.097e-05/0.1778, allocations: 79.28 kB / 0.6864 GB, free: 10 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1778, allocations: 3.938 kB / 0.6864 GB, free: 10 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.178, allocations: 19.94 kB / 0.6865 GB, free: 9.98 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.000731/0.1788, allocations: 0.7785 MB / 0.6872 GB, free: 9.172 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004093/0.1792, allocations: 87.94 kB / 0.6873 GB, free: 9.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1792, allocations: 0 / 0.6873 GB, free: 9.086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.1794, allocations: 59.88 kB / 0.6874 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1797, allocations: 4.125 kB / 0.6874 GB, free: 9.023 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/0.1803, allocations: 191.7 kB / 0.6875 GB, free: 8.797 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.1805, allocations: 0.6768 MB / 0.6882 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.1806, allocations: 8 kB / 0.6882 GB, free: 8.086 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.1807, allocations: 15.44 kB / 0.6882 GB, free: 8.07 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1807, allocations: 0 / 0.6882 GB, free: 8.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.1973, allocations: 1.692 MB / 0.6899 GB, free: 6.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/7.148, allocations: 11.75 kB / 0.6899 GB, free: 6.492 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)