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.0008443/0.000844, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009074/0.0009075, allocations: 168.7 kB / 15.95 MB, free: 204 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.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.017/1.017, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 16 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1934, allocations: 83.41 MB / 0.5975 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.001784/0.1953, allocations: 1.19 MB / 0.5987 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003287/0.1956, allocations: 108.5 kB / 0.5988 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.1957, allocations: 4 kB / 0.5988 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.1957, allocations: 0 / 0.5988 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.1958, allocations: 15.91 kB / 0.5988 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.196, allocations: 11.98 kB / 0.5988 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.057e-05/0.1961, allocations: 39.86 kB / 0.5989 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.1962, allocations: 15.97 kB / 0.5989 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.117e-05/0.1962, allocations: 11.92 kB / 0.5989 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.824e-05/0.1963, allocations: 19.92 kB / 0.5989 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.1963, allocations: 7.938 kB / 0.5989 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.1964, allocations: 19.98 kB / 0.5989 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.1964, allocations: 15.92 kB / 0.599 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.1965, allocations: 25.7 kB / 0.599 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.1966, allocations: 43.92 kB / 0.599 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1966, allocations: 0 / 0.599 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1966, allocations: 0 / 0.599 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1966, allocations: 0 / 0.599 GB, free: 6.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005169/0.1971, allocations: 383.3 kB / 0.5994 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1972, allocations: 12.03 kB / 0.5994 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.1972, allocations: 34.56 kB / 0.5994 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.1973, allocations: 7.906 kB / 0.5994 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.1974, allocations: 171 kB / 0.5996 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1974, allocations: 0 / 0.5996 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.1974, allocations: 3.984 kB / 0.5996 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.1977, allocations: 85.66 kB / 0.5997 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1977, allocations: 0 / 0.5997 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1977, allocations: 0 / 0.5997 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1977, allocations: 4 kB / 0.5997 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.198, allocations: 95.92 kB / 0.5998 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.1984, allocations: 296.7 kB / 0.6001 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.1986, allocations: 74.53 kB / 0.6001 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.1988, allocations: 60.91 kB / 0.6002 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.199, allocations: 101.1 kB / 0.6003 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.199, allocations: 38.55 kB / 0.6003 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.199, allocations: 4 kB / 0.6003 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000549/0.1996, allocations: 177.5 kB / 0.6005 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1996, allocations: 55.36 kB / 0.6006 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1998, allocations: 125.8 kB / 0.6007 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1998, allocations: 25.7 kB / 0.6007 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.1999, allocations: 104 kB / 0.6008 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.1999, allocations: 3.906 kB / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.1999, allocations: 0 / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2001, allocations: 326.8 kB / 0.6011 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.2002, allocations: 51.91 kB / 0.6012 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.2003, allocations: 43.95 kB / 0.6012 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.2005, allocations: 51.95 kB / 0.6013 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2005, allocations: 0 / 0.6013 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003057/0.2008, allocations: 137.5 kB / 0.6014 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2008, allocations: 4 kB / 0.6014 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2008, allocations: 4 kB / 0.6014 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2009, allocations: 0 / 0.6014 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.201, allocations: 19.97 kB / 0.6014 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.201, allocations: 8 kB / 0.6014 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.28e-05/0.2011, allocations: 23.94 kB / 0.6014 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.2011, allocations: 0 / 0.6014 GB, free: 3.449 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 0.0001011/0.2012, allocations: 113.8 kB / 0.6016 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.2012, allocations: 336 / 0.6016 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.2016, allocations: 145.5 kB / 0.6017 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2016, allocations: 3.938 kB / 0.6017 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.2016, allocations: 8 kB / 0.6017 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2016, allocations: 0 / 0.6017 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.2018, allocations: 181.5 kB / 0.6019 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2018, allocations: 0 / 0.6019 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-05/0.2019, allocations: 19.98 kB / 0.6019 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2019, allocations: 0 / 0.6019 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2019, allocations: 0 / 0.6019 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2019, allocations: 4 kB / 0.6019 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2019, allocations: 7.984 kB / 0.6019 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.2023, allocations: 227.5 kB / 0.6021 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.2023, allocations: 85 kB / 0.6022 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.2024, allocations: 8 kB / 0.6022 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.37e-05/0.2025, allocations: 11.98 kB / 0.6022 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.2025, allocations: 4 kB / 0.6022 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2025, allocations: 4 kB / 0.6022 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.248e-05/0.2026, allocations: 110.8 kB / 0.6023 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2026, allocations: 0 / 0.6023 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002194/0.2028, allocations: 12 kB / 0.6024 GB, free: 2.418 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.0006709/0.2035, allocations: 0.7631 MB / 0.6031 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.2039, allocations: 99.86 kB / 0.6032 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2039, allocations: 4 kB / 0.6032 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.204, allocations: 59.89 kB / 0.6033 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2043, allocations: 11.88 kB / 0.6033 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.2048, allocations: 190.3 kB / 0.6034 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.2052, allocations: 0.6887 MB / 0.6041 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.498e-05/0.2052, allocations: 7.984 kB / 0.6041 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.2052, allocations: 11.44 kB / 0.6041 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2052, allocations: 0 / 0.6041 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.304/0.5093, allocations: 1.55 MB / 0.6057 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001217/0.5094, allocations: 197 kB / 0.6058 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.165, allocations: 0 / 0.6058 GB, free: 39.94 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: