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.0008418/0.0008419, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0009973/0.0009975, allocations: 172.7 kB / 15.95 MB, free: 208 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.379/1.379, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.029/1.029, allocations: 143.4 MB / 434.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003118, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1726, allocations: 83.41 MB / 0.5975 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.001548/0.1742, allocations: 1.151 MB / 0.5987 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1754, allocations: 0.7299 MB / 0.5994 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.1754, allocations: 0 / 0.5994 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.1755, allocations: 4 kB / 0.5994 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.037e-05/0.1755, allocations: 3.938 kB / 0.5994 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.176, allocations: 95.69 kB / 0.5995 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.1761, allocations: 35.84 kB / 0.5995 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.1762, allocations: 8 kB / 0.5995 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.1762, allocations: 15.97 kB / 0.5995 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.1763, allocations: 19.92 kB / 0.5995 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1763, allocations: 0 / 0.5995 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.1768, allocations: 299.4 kB / 0.5998 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.1768, allocations: 7.969 kB / 0.5998 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.1768, allocations: 29.7 kB / 0.5999 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.177, allocations: 132.1 kB / 0.6 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1771, allocations: 3.984 kB / 0.6 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1771, allocations: 0 / 0.6 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.1771, allocations: 4 kB / 0.6 GB, free: 5.156 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.0004988/0.1776, allocations: 375.2 kB / 0.6004 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1776, allocations: 8.031 kB / 0.6004 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.1777, allocations: 30.56 kB / 0.6004 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004133/0.1781, allocations: 83.91 kB / 0.6005 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1782, allocations: 171 kB / 0.6006 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.1783, allocations: 4 kB / 0.6006 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.1783, allocations: 0 / 0.6006 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.1786, allocations: 93.62 kB / 0.6007 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1786, allocations: 0 / 0.6007 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1786, allocations: 4 kB / 0.6007 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1786, allocations: 0 / 0.6007 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.179, allocations: 115.9 kB / 0.6008 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.1795, allocations: 324.6 kB / 0.6012 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.1799, allocations: 110.5 kB / 0.6013 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.1801, allocations: 64.88 kB / 0.6013 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1801, allocations: 0 / 0.6013 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1801, allocations: 38.48 kB / 0.6014 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1801, allocations: 4 kB / 0.6014 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007157/0.1809, allocations: 201.6 kB / 0.6016 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1809, allocations: 55.36 kB / 0.6016 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.181, allocations: 106 kB / 0.6017 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.181, allocations: 25.7 kB / 0.6017 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.1811, allocations: 84.17 kB / 0.6018 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1811, allocations: 11.89 kB / 0.6018 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.1811, allocations: 4 kB / 0.6018 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1813, allocations: 314.8 kB / 0.6021 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1815, allocations: 55.95 kB / 0.6022 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.1816, allocations: 59.95 kB / 0.6022 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.1818, allocations: 56.02 kB / 0.6023 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1818, allocations: 0 / 0.6023 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004025/0.1822, allocations: 145.6 kB / 0.6024 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1823, allocations: 4 kB / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1823, allocations: 4 kB / 0.6024 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1823, allocations: 8 kB / 0.6024 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1825, allocations: 23.97 kB / 0.6025 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.1825, allocations: 3.953 kB / 0.6025 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1826, allocations: 24.02 kB / 0.6025 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1826, allocations: 7.984 kB / 0.6025 GB, free: 2.363 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.48e-05/0.1827, allocations: 109.8 kB / 0.6026 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1827, allocations: 3.906 kB / 0.6026 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.1828, allocations: 7.125 kB / 0.6026 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1828, allocations: 4 kB / 0.6026 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1828, allocations: 0 / 0.6026 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1828, allocations: 3.953 kB / 0.6026 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.183, allocations: 169.6 kB / 0.6028 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.183, allocations: 3.938 kB / 0.6028 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.1831, allocations: 27.97 kB / 0.6028 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1831, allocations: 4 kB / 0.6028 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-06/0.1831, allocations: 0 / 0.6028 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1831, allocations: 0 / 0.6028 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1831, allocations: 0 / 0.6028 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.1836, allocations: 251.3 kB / 0.6031 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.1837, allocations: 77.11 kB / 0.6031 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1837, allocations: 0 / 0.6031 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.1838, allocations: 23.97 kB / 0.6032 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.1839, allocations: 8.031 kB / 0.6032 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1839, allocations: 0 / 0.6032 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.1839, allocations: 87.27 kB / 0.6032 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1839, allocations: 3.938 kB / 0.6033 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002347/0.1842, allocations: 12 kB / 0.6033 GB, free: 1.492 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.0008152/0.185, allocations: 0.7826 MB / 0.604 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004158/0.1854, allocations: 127.9 kB / 0.6042 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1854, allocations: 0 / 0.6042 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.1857, allocations: 56.02 kB / 0.6042 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.186, allocations: 10.41 kB / 0.6042 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.1867, allocations: 210.3 kB / 0.6044 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3353/0.522, allocations: 0.677 MB / 0.6051 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.5222, allocations: 8.062 kB / 0.6051 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.5223, allocations: 14 kB / 0.6051 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.5223, allocations: 0.75 kB / 0.6051 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.5339, allocations: 1.411 MB / 0.6065 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.5341, allocations: 196.1 kB / 0.6067 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.198, allocations: 3.938 kB / 0.6067 GB, free: 39.74 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: