Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",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.001461/0.001461, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001725/0.001725, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9782/0.9782, allocations: 143 MB / 433 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 55.91 kB / 0.5136 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.166, allocations: 82.04 MB / 0.5937 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.00288/0.1689, allocations: 1.547 MB / 0.5952 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003016/0.1692, allocations: 112.6 kB / 0.5953 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.1693, allocations: 4 kB / 0.5953 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.503e-05/0.1693, allocations: 7.922 kB / 0.5954 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.346e-05/0.1694, allocations: 3.938 kB / 0.5954 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.1695, allocations: 15.98 kB / 0.5954 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.783e-05/0.1696, allocations: 43.91 kB / 0.5954 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.1697, allocations: 15.91 kB / 0.5954 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.1698, allocations: 15.98 kB / 0.5954 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.1698, allocations: 23.86 kB / 0.5955 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1698, allocations: 4 kB / 0.5955 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.766e-05/0.1699, allocations: 15.98 kB / 0.5955 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.1699, allocations: 11.98 kB / 0.5955 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.17, allocations: 19.86 kB / 0.5955 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1701, allocations: 59.8 kB / 0.5956 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1701, allocations: 3.938 kB / 0.5956 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.72e-07/0.1701, allocations: 0 / 0.5956 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.1701, allocations: 0 / 0.5956 GB, free: 8.062 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005483/0.1707, allocations: 383.5 kB / 0.5959 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1708, allocations: 12.03 kB / 0.596 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.1708, allocations: 30.75 kB / 0.596 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.1708, allocations: 8.844 kB / 0.596 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.171, allocations: 172.3 kB / 0.5962 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.171, allocations: 384 / 0.5962 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.171, allocations: 4.375 kB / 0.5962 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.1713, allocations: 74.22 kB / 0.5962 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1713, allocations: 11.88 kB / 0.5962 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1713, allocations: 0 / 0.5962 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1713, allocations: 0 / 0.5962 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.1716, allocations: 75.86 kB / 0.5963 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.172, allocations: 296.7 kB / 0.5966 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1722, allocations: 66.53 kB / 0.5967 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.1724, allocations: 40.91 kB / 0.5967 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.1726, allocations: 113.1 kB / 0.5968 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.1726, allocations: 34.5 kB / 0.5968 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1726, allocations: 3.938 kB / 0.5968 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005286/0.1732, allocations: 141.6 kB / 0.597 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.1732, allocations: 55.41 kB / 0.597 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.1733, allocations: 127.7 kB / 0.5972 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1733, allocations: 25.7 kB / 0.5972 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.1734, allocations: 100 kB / 0.5973 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.1734, allocations: 3.906 kB / 0.5973 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.1734, allocations: 21.7 kB / 0.5973 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.1735, allocations: 318.8 kB / 0.5976 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.1737, allocations: 39.95 kB / 0.5976 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1738, allocations: 31.97 kB / 0.5977 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.1741, allocations: 88.64 kB / 0.5978 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1741, allocations: 0 / 0.5978 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003121/0.1744, allocations: 113.5 kB / 0.5979 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1744, allocations: 4 kB / 0.5979 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1745, allocations: 0 / 0.5979 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1745, allocations: 4 kB / 0.5979 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1746, allocations: 15.97 kB / 0.5979 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1746, allocations: 0 / 0.5979 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.542e-05/0.1747, allocations: 16.31 kB / 0.5979 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1747, allocations: 0 / 0.5979 GB, free: 5.426 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 (3): * Single equations (assignments): 3 * 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 6.721e-05/0.1748, allocations: 117.8 kB / 0.598 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.1748, allocations: 7.906 kB / 0.598 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.1752, allocations: 129.4 kB / 0.5981 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1752, allocations: 4 kB / 0.5982 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1752, allocations: 0 / 0.5982 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1752, allocations: 0 / 0.5982 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.1753, allocations: 185.6 kB / 0.5983 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1754, allocations: 0 / 0.5983 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.95e-05/0.1754, allocations: 15.98 kB / 0.5983 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1755, allocations: 0 / 0.5983 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.1755, allocations: 0 / 0.5983 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1755, allocations: 0 / 0.5983 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1755, allocations: 3.938 kB / 0.5983 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.1758, allocations: 215.3 kB / 0.5986 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.1759, allocations: 81.02 kB / 0.5986 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1759, allocations: 11.92 kB / 0.5986 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-05/0.176, allocations: 11.98 kB / 0.5987 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.176, allocations: 4 kB / 0.5987 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1761, allocations: 4 kB / 0.5987 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.1761, allocations: 110 kB / 0.5988 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1761, allocations: 0 / 0.5988 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002196/0.1763, allocations: 8 kB / 0.5988 GB, free: 4.43 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 (3): * Single equations (assignments): 3 * 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.0006155/0.177, allocations: 0.7435 MB / 0.5995 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.1773, allocations: 75.92 kB / 0.5996 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1773, allocations: 0 / 0.5996 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1774, allocations: 47.95 kB / 0.5996 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.1777, allocations: 7.938 kB / 0.5996 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.1782, allocations: 192.9 kB / 0.5998 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1784, allocations: 0.6965 MB / 0.6005 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.946e-05/0.1784, allocations: 0 / 0.6005 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.1785, allocations: 19.44 kB / 0.6005 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1785, allocations: 0 / 0.6005 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.189, allocations: 1.633 MB / 0.6021 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.1892, allocations: 200.2 kB / 0.6023 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/1.759, allocations: 3.938 kB / 0.6023 GB, free: 0.7812 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)