Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001074/0.001074, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009245/0.0009246, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.035/1.035, allocations: 143.3 MB / 434.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 16 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.172, allocations: 83.42 MB / 0.5974 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.001449/0.1734, allocations: 1.147 MB / 0.5985 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009999/0.1745, allocations: 0.7298 MB / 0.5992 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.1745, allocations: 0 / 0.5992 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.1745, allocations: 4 kB / 0.5992 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.203e-05/0.1746, allocations: 11.97 kB / 0.5992 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.1749, allocations: 91.69 kB / 0.5993 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.175, allocations: 27.91 kB / 0.5993 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.729e-05/0.175, allocations: 11.98 kB / 0.5993 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.568e-05/0.1751, allocations: 7.984 kB / 0.5993 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.1751, allocations: 23.92 kB / 0.5994 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.699e-06/0.1752, allocations: 0 / 0.5994 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004126/0.1756, allocations: 307.5 kB / 0.5997 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.1756, allocations: 3.984 kB / 0.5997 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.1756, allocations: 29.64 kB / 0.5997 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.1758, allocations: 144.1 kB / 0.5998 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1759, allocations: 3.938 kB / 0.5998 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1759, allocations: 0 / 0.5998 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.1759, allocations: 0 / 0.5998 GB, free: 5.176 MB / 0.4981 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.0004697/0.1763, allocations: 379.2 kB / 0.6002 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1764, allocations: 12.03 kB / 0.6002 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.1764, allocations: 30.56 kB / 0.6002 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004428/0.1769, allocations: 75.91 kB / 0.6003 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.177, allocations: 171 kB / 0.6005 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.177, allocations: 4 kB / 0.6005 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.177, allocations: 0 / 0.6005 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.1773, allocations: 97.62 kB / 0.6006 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.1774, allocations: 3.984 kB / 0.6006 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1774, allocations: 0 / 0.6006 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1774, allocations: 0 / 0.6006 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.1778, allocations: 127.8 kB / 0.6007 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.1783, allocations: 300.7 kB / 0.601 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.1787, allocations: 114.5 kB / 0.6011 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1787, allocations: 3.938 kB / 0.6011 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1787, allocations: 34.55 kB / 0.6011 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1787, allocations: 0 / 0.6011 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007282/0.1795, allocations: 205.7 kB / 0.6013 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1795, allocations: 55.36 kB / 0.6014 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/0.1796, allocations: 105.8 kB / 0.6015 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1796, allocations: 25.7 kB / 0.6015 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.1797, allocations: 84.14 kB / 0.6016 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.1797, allocations: 11.94 kB / 0.6016 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.1797, allocations: 0 / 0.6016 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1798, allocations: 314.8 kB / 0.6019 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.18, allocations: 63.89 kB / 0.6019 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.1803, allocations: 55.95 kB / 0.602 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.1805, allocations: 56.02 kB / 0.6021 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1805, allocations: 0 / 0.6021 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004391/0.1809, allocations: 145.5 kB / 0.6022 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1809, allocations: 13.91 kB / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1809, allocations: 0 / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.181, allocations: 0 / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.1811, allocations: 23.97 kB / 0.6022 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1811, allocations: 7.953 kB / 0.6022 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1813, allocations: 23.98 kB / 0.6023 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1813, allocations: 4.234 kB / 0.6023 GB, free: 2.457 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.053e-05/0.1814, allocations: 112.1 kB / 0.6024 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.1814, allocations: 7.906 kB / 0.6024 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.1814, allocations: 3.125 kB / 0.6024 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1814, allocations: 4 kB / 0.6024 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1814, allocations: 4 kB / 0.6024 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1814, allocations: 3.953 kB / 0.6024 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1816, allocations: 169.6 kB / 0.6026 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1816, allocations: 0 / 0.6026 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.1818, allocations: 27.97 kB / 0.6026 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1818, allocations: 0 / 0.6026 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1818, allocations: 0 / 0.6026 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1818, allocations: 8 kB / 0.6026 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1818, allocations: 3.938 kB / 0.6026 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.1823, allocations: 243.4 kB / 0.6028 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.1823, allocations: 77.11 kB / 0.6029 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1824, allocations: 4 kB / 0.6029 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1825, allocations: 19.97 kB / 0.6029 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1826, allocations: 8 kB / 0.6029 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1826, allocations: 4.031 kB / 0.6029 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.1826, allocations: 87.2 kB / 0.603 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1826, allocations: 0 / 0.603 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002388/0.1829, allocations: 16 kB / 0.603 GB, free: 1.582 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008083/0.1837, allocations: 0.7903 MB / 0.6038 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004392/0.1841, allocations: 119.9 kB / 0.6039 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1841, allocations: 0 / 0.6039 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.1844, allocations: 64.02 kB / 0.604 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.1845, allocations: 0 / 0.604 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.1852, allocations: 222.2 kB / 0.6042 GB, free: 332 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2992/0.4844, allocations: 0.6763 MB / 0.6048 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000107/0.4845, allocations: 9.234 kB / 0.6049 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.4846, allocations: 8.281 kB / 0.6049 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/0.4846, allocations: 1.938 kB / 0.6049 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01129/0.4959, allocations: 1.394 MB / 0.6062 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.4961, allocations: 188 kB / 0.6064 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.203, allocations: 0 / 0.6064 GB, free: 39.92 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: