Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",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.001248/0.001248, allocations: 99.86 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.00142/0.00142, 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.425/1.425, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.057/1.057, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 12 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1921, allocations: 83.41 MB / 0.5973 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002003/0.1941, allocations: 1.151 MB / 0.5985 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002534/0.1944, allocations: 92.58 kB / 0.5986 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.1944, allocations: 0 / 0.5986 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.1945, allocations: 0 / 0.5986 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.953e-05/0.1945, allocations: 7.984 kB / 0.5986 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.1947, allocations: 11.98 kB / 0.5986 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.08e-05/0.1948, allocations: 15.97 kB / 0.5986 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.1949, allocations: 11.94 kB / 0.5986 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.624e-05/0.1949, allocations: 4 kB / 0.5986 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.195, allocations: 11.92 kB / 0.5986 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.195, allocations: 4 kB / 0.5986 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.073e-05/0.195, allocations: 7.984 kB / 0.5986 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.1951, allocations: 8 kB / 0.5986 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.1951, allocations: 25.7 kB / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.548e-05/0.1952, allocations: 31.94 kB / 0.5987 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1952, allocations: 0 / 0.5987 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1952, allocations: 0 / 0.5987 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.1952, allocations: 0 / 0.5987 GB, free: 6.328 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.0004368/0.1956, allocations: 339.5 kB / 0.599 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1957, allocations: 8.031 kB / 0.599 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.1957, allocations: 34.56 kB / 0.5991 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.1959, allocations: 15.98 kB / 0.5991 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.196, allocations: 175 kB / 0.5992 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1961, allocations: 0 / 0.5992 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.1961, allocations: 0 / 0.5992 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1963, allocations: 65.66 kB / 0.5993 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1963, allocations: 7.984 kB / 0.5993 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.1963, allocations: 0 / 0.5993 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1963, allocations: 0 / 0.5993 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.1965, allocations: 63.89 kB / 0.5994 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.197, allocations: 272.8 kB / 0.5996 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1972, allocations: 66.48 kB / 0.5997 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.1972, allocations: 0 / 0.5997 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1972, allocations: 34.62 kB / 0.5997 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1972, allocations: 0 / 0.5997 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004451/0.1977, allocations: 121.6 kB / 0.5998 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1977, allocations: 59.33 kB / 0.5999 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.1978, allocations: 109.8 kB / 0.6 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1978, allocations: 25.7 kB / 0.6 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.1979, allocations: 88.27 kB / 0.6001 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.1979, allocations: 19.77 kB / 0.6001 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.1979, allocations: 0 / 0.6001 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.198, allocations: 310.8 kB / 0.6004 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.1982, allocations: 31.97 kB / 0.6005 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1983, allocations: 31.98 kB / 0.6005 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1984, allocations: 31.97 kB / 0.6005 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1984, allocations: 0 / 0.6005 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002425/0.1986, allocations: 89.72 kB / 0.6006 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1987, allocations: 8 kB / 0.6006 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1987, allocations: 0 / 0.6006 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1987, allocations: 0 / 0.6006 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1988, allocations: 23.95 kB / 0.6006 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1988, allocations: 7.984 kB / 0.6006 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.1989, allocations: 11.98 kB / 0.6007 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1989, allocations: 3.953 kB / 0.6007 GB, free: 4.09 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.55e-05/0.199, allocations: 105.8 kB / 0.6008 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.199, allocations: 15.89 kB / 0.6008 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.1991, allocations: 7.531 kB / 0.6008 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1991, allocations: 0 / 0.6008 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1991, allocations: 0 / 0.6008 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1991, allocations: 0 / 0.6008 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.1993, allocations: 165.6 kB / 0.6009 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1993, allocations: 0 / 0.6009 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.088e-05/0.1994, allocations: 15.98 kB / 0.601 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1994, allocations: 0 / 0.601 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.1994, allocations: 7.938 kB / 0.601 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1994, allocations: 0 / 0.601 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1994, allocations: 0 / 0.601 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.1997, allocations: 199.4 kB / 0.6012 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.1997, allocations: 81.11 kB / 0.6012 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1998, allocations: 0 / 0.6012 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.1999, allocations: 11.98 kB / 0.6012 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.1999, allocations: 0 / 0.6012 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1999, allocations: 0 / 0.6012 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.2, allocations: 95.55 kB / 0.6013 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2, allocations: 0 / 0.6013 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002132/0.2002, allocations: 4 kB / 0.6013 GB, free: 3.297 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.0006592/0.2009, allocations: 0.7202 MB / 0.602 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.2011, allocations: 71.92 kB / 0.6021 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2012, allocations: 0 / 0.6021 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.2013, allocations: 39.91 kB / 0.6021 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.2015, allocations: 4.125 kB / 0.6022 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.202, allocations: 158.3 kB / 0.6023 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.2023, allocations: 0.677 MB / 0.603 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.2023, allocations: 7.984 kB / 0.603 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.2024, allocations: 11.44 kB / 0.603 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2024, allocations: 0 / 0.603 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.2142, allocations: 1.183 MB / 0.6041 GB, free: 492 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.2144, allocations: 188 kB / 0.6043 GB, free: 244 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.875, allocations: 0 / 0.6043 GB, free: 244 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: