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.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.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.001274/0.001274, allocations: 100.2 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.001515/0.001516, allocations: 177.3 kB / 15.94 MB, free: 228 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.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9838/0.9838, allocations: 143.3 MB / 434.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003013, allocations: 19.94 kB / 0.5159 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1994, allocations: 83.42 MB / 0.5974 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.001844/0.2013, allocations: 1.19 MB / 0.5985 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003018/0.2016, allocations: 100.6 kB / 0.5986 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.2016, allocations: 8 kB / 0.5986 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.815e-05/0.2017, allocations: 0 / 0.5986 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.544e-05/0.2018, allocations: 11.97 kB / 0.5986 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.202, allocations: 15.92 kB / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.387e-05/0.2021, allocations: 27.95 kB / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.2022, allocations: 8 kB / 0.5987 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.914e-05/0.2022, allocations: 15.92 kB / 0.5987 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.2023, allocations: 23.91 kB / 0.5987 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.2023, allocations: 4 kB / 0.5987 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.2024, allocations: 15.98 kB / 0.5987 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.2024, allocations: 8 kB / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.2024, allocations: 37.62 kB / 0.5988 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.559e-05/0.2025, allocations: 35.92 kB / 0.5988 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2025, allocations: 0 / 0.5988 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2026, allocations: 0 / 0.5988 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2026, allocations: 0 / 0.5988 GB, free: 6.18 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.0005734/0.2031, allocations: 387.4 kB / 0.5992 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2032, allocations: 11.97 kB / 0.5992 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.013e-05/0.2032, allocations: 38.55 kB / 0.5992 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.2033, allocations: 7.906 kB / 0.5992 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.2034, allocations: 167 kB / 0.5994 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.2034, allocations: 0 / 0.5994 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.2034, allocations: 4 kB / 0.5994 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.2037, allocations: 97.58 kB / 0.5995 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.2037, allocations: 0 / 0.5995 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2038, allocations: 0 / 0.5995 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2038, allocations: 0 / 0.5995 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.2041, allocations: 99.92 kB / 0.5996 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.2045, allocations: 292.8 kB / 0.5999 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.2048, allocations: 78.47 kB / 0.6 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/0.205, allocations: 105.2 kB / 0.6001 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.2051, allocations: 38.55 kB / 0.6001 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2051, allocations: 3.938 kB / 0.6001 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006362/0.2057, allocations: 173.6 kB / 0.6003 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.2058, allocations: 59.36 kB / 0.6003 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2059, allocations: 125.8 kB / 0.6004 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.2059, allocations: 29.7 kB / 0.6005 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.206, allocations: 88.05 kB / 0.6005 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.206, allocations: 7.906 kB / 0.6006 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-06/0.206, allocations: 4 kB / 0.6006 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2061, allocations: 314.8 kB / 0.6009 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.2063, allocations: 51.91 kB / 0.6009 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.2065, allocations: 56.12 kB / 0.601 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.2066, allocations: 47.95 kB / 0.601 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2067, allocations: 0 / 0.601 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003514/0.207, allocations: 129.5 kB / 0.6011 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.207, allocations: 8 kB / 0.6011 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2071, allocations: 0 / 0.6011 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2071, allocations: 0 / 0.6011 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.2072, allocations: 27.97 kB / 0.6012 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2072, allocations: 0 / 0.6012 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.52e-05/0.2073, allocations: 19.94 kB / 0.6012 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2073, allocations: 0 / 0.6012 GB, free: 3.516 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.239e-05/0.2074, allocations: 121.8 kB / 0.6013 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.2075, allocations: 7.938 kB / 0.6013 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.2079, allocations: 141.5 kB / 0.6014 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2079, allocations: 0 / 0.6014 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.2079, allocations: 0 / 0.6014 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2079, allocations: 0 / 0.6014 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.2081, allocations: 193.5 kB / 0.6016 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2081, allocations: 0 / 0.6016 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.2082, allocations: 23.98 kB / 0.6016 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2082, allocations: 0 / 0.6016 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.2082, allocations: 0 / 0.6016 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2082, allocations: 0 / 0.6016 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2083, allocations: 3.984 kB / 0.6017 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.2087, allocations: 231.3 kB / 0.6019 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.2087, allocations: 89 kB / 0.602 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.2087, allocations: 0 / 0.602 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2089, allocations: 19.98 kB / 0.602 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.2089, allocations: 0 / 0.602 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.2089, allocations: 8 kB / 0.602 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.796e-05/0.209, allocations: 106.9 kB / 0.6021 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.209, allocations: 0 / 0.6021 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002271/0.2092, allocations: 11.94 kB / 0.6021 GB, free: 2.477 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 (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.0008215/0.2101, allocations: 0.7669 MB / 0.6028 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000369/0.2104, allocations: 103.9 kB / 0.6029 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2104, allocations: 0 / 0.6029 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.2106, allocations: 47.95 kB / 0.603 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.2108, allocations: 15.94 kB / 0.603 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.2113, allocations: 194.7 kB / 0.6032 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.2117, allocations: 0.6887 MB / 0.6039 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.384e-05/0.2117, allocations: 4 kB / 0.6039 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.2118, allocations: 19.42 kB / 0.6039 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.2118, allocations: 4 kB / 0.6039 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2907/0.5025, allocations: 1.516 MB / 0.6054 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.5027, allocations: 201 kB / 0.6056 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.167, allocations: 0 / 0.6056 GB, free: 40.04 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/linux/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) Environment - environmentSimulation: