Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 183.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5177/0.5177, allocations: 91.98 MB / 108.5 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.1 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008932/0.0008932, allocations: 103.1 kB / 427.4 MB, free: 3.875 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003357, allocations: 15.97 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1553, allocations: 72.31 MB / 0.5689 GB, free: 1.824 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4932/0.6485, allocations: 101.5 MB / 0.6681 GB, free: 2.852 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.6489, allocations: 83.27 kB / 0.6682 GB, free: 2.773 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003253/0.6521, allocations: 1.09 MB / 0.6692 GB, free: 1.695 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6522, allocations: 0 / 0.6692 GB, free: 1.695 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.6522, allocations: 0 / 0.6692 GB, free: 1.695 MB / 458.7 MB 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.0004885/0.6527, allocations: 383.7 kB / 0.6696 GB, free: 1.273 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.6527, allocations: 8.031 kB / 0.6696 GB, free: 1.266 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/0.6528, allocations: 38.55 kB / 0.6696 GB, free: 1.219 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.6528, allocations: 16.67 kB / 0.6697 GB, free: 1.203 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.653, allocations: 175 kB / 0.6698 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.653, allocations: 7.938 kB / 0.6698 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.653, allocations: 4 kB / 0.6698 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.6533, allocations: 85.64 kB / 0.6699 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.6533, allocations: 0 / 0.6699 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.6533, allocations: 0.875 kB / 0.6699 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.6533, allocations: 4 kB / 0.6699 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.6537, allocations: 103.9 kB / 0.67 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.6543, allocations: 316.8 kB / 0.6703 GB, free: 436 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.6545, allocations: 92.64 kB / 0.6704 GB, free: 336 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.6547, allocations: 105.2 kB / 0.6705 GB, free: 212 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.6547, allocations: 34.56 kB / 0.6705 GB, free: 168 kB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.6548, allocations: 0 / 0.6705 GB, free: 168 kB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006432/0.6554, allocations: 185.4 kB / 0.6707 GB, free: 15.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.6555, allocations: 59.34 kB / 0.6708 GB, free: 15.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.6556, allocations: 113 kB / 0.6709 GB, free: 15.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.6556, allocations: 29.7 kB / 0.6709 GB, free: 15.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.6557, allocations: 96.12 kB / 0.671 GB, free: 15.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.6557, allocations: 7.844 kB / 0.671 GB, free: 15.65 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.6557, allocations: 0 / 0.671 GB, free: 15.65 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6558, allocations: 322.8 kB / 0.6713 GB, free: 15.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.656, allocations: 43.97 kB / 0.6714 GB, free: 15.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.6561, allocations: 51.95 kB / 0.6714 GB, free: 15.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.6563, allocations: 47.95 kB / 0.6715 GB, free: 15.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6563, allocations: 4 kB / 0.6715 GB, free: 15.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003408/0.6567, allocations: 137.5 kB / 0.6716 GB, free: 15.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.6567, allocations: 4 kB / 0.6716 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.6567, allocations: 0 / 0.6716 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6567, allocations: 0 / 0.6716 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.6569, allocations: 38.28 kB / 0.6716 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.6569, allocations: 0 / 0.6716 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.925e-05/0.657, allocations: 15.98 kB / 0.6716 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.657, allocations: 4 kB / 0.6717 GB, free: 14.98 MB / 474.7 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 (3): * Single equations (assignments): 3 * 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 0.0001052/0.6571, allocations: 109.8 kB / 0.6718 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.6572, allocations: 15.83 kB / 0.6718 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.6576, allocations: 149.8 kB / 0.6719 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6576, allocations: 8.031 kB / 0.6719 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6576, allocations: 3.953 kB / 0.6719 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6576, allocations: 0 / 0.6719 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.6578, allocations: 177.6 kB / 0.6721 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6578, allocations: 0 / 0.6721 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.658, allocations: 27.91 kB / 0.6721 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.658, allocations: 4 kB / 0.6721 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.658, allocations: 7.938 kB / 0.6721 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.658, allocations: 4 kB / 0.6721 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.658, allocations: 0 / 0.6721 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.6584, allocations: 231.3 kB / 0.6724 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.6585, allocations: 77.11 kB / 0.6724 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.6585, allocations: 4 kB / 0.6724 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.6586, allocations: 23.97 kB / 0.6725 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.6587, allocations: 4 kB / 0.6725 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.6587, allocations: 4 kB / 0.6725 GB, free: 14.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.431e-05/0.6588, allocations: 100 kB / 0.6726 GB, free: 13.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6588, allocations: 0 / 0.6726 GB, free: 13.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002194/0.659, allocations: 15.95 kB / 0.6726 GB, free: 13.93 MB / 474.7 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 (3): * Single equations (assignments): 3 * 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.0007737/0.6598, allocations: 0.7658 MB / 0.6733 GB, free: 13.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.6601, allocations: 99.92 kB / 0.6734 GB, free: 13.04 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6602, allocations: 8 kB / 0.6734 GB, free: 13.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.6603, allocations: 51.89 kB / 0.6735 GB, free: 12.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.6605, allocations: 4 kB / 0.6735 GB, free: 12.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.661, allocations: 202.8 kB / 0.6737 GB, free: 12.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.6613, allocations: 0.6848 MB / 0.6743 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.246e-05/0.6614, allocations: 4 kB / 0.6743 GB, free: 12.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.6614, allocations: 19.42 kB / 0.6744 GB, free: 12 MB / 474.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6614, allocations: 4 kB / 0.6744 GB, free: 12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.6741, allocations: 1.521 MB / 0.6759 GB, free: 10.6 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.6743, allocations: 171.5 kB / 0.676 GB, free: 10.36 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.217, allocations: 3.938 kB / 0.676 GB, free: 10.36 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)