Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5",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.0009744/0.0009746, 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.001011/0.001011, 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.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.034/1.034, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 8 kB / 0.5159 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2035, allocations: 83.41 MB / 0.5973 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5): time 0.0005923/0.2041, allocations: 254.4 kB / 0.5976 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001549/0.2043, allocations: 35.91 kB / 0.5976 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.2043, allocations: 0 / 0.5976 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.2044, allocations: 0 / 0.5976 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.2045, allocations: 7.922 kB / 0.5976 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.542e-05/0.2046, allocations: 7.938 kB / 0.5976 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.746e-05/0.2046, allocations: 8 kB / 0.5976 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.2047, allocations: 0 / 0.5976 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.2047, allocations: 0 / 0.5976 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.2048, allocations: 11.97 kB / 0.5977 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.2048, allocations: 4 kB / 0.5977 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-06/0.2048, allocations: 4 kB / 0.5977 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.2049, allocations: 7.938 kB / 0.5977 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.2049, allocations: 25.7 kB / 0.5977 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 3.412e-05/0.2049, allocations: 7.984 kB / 0.5977 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.2049, allocations: 0 / 0.5977 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2049, allocations: 0 / 0.5977 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.205, allocations: 0 / 0.5977 GB, free: 7.441 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004478/0.2054, allocations: 323.3 kB / 0.598 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2055, allocations: 8.031 kB / 0.598 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.2055, allocations: 34.56 kB / 0.5981 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.417e-05/0.2055, allocations: 3.953 kB / 0.5981 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.2057, allocations: 175.3 kB / 0.5982 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.2057, allocations: 4 kB / 0.5982 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.2058, allocations: 0 / 0.5982 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.785e-05/0.2058, allocations: 37.67 kB / 0.5983 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2058, allocations: 3.938 kB / 0.5983 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.2059, allocations: 0 / 0.5983 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2059, allocations: 0 / 0.5983 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.289e-05/0.2059, allocations: 11.95 kB / 0.5983 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.2061, allocations: 157.7 kB / 0.5984 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.218e-05/0.2061, allocations: 18.56 kB / 0.5984 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.2062, allocations: 7.875 kB / 0.5985 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.2062, allocations: 34.62 kB / 0.5985 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2062, allocations: 0 / 0.5985 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.2063, allocations: 45.62 kB / 0.5985 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2064, allocations: 55.53 kB / 0.5986 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.2065, allocations: 109.8 kB / 0.5987 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.2065, allocations: 25.7 kB / 0.5987 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.2065, allocations: 80.14 kB / 0.5988 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.2066, allocations: 3.906 kB / 0.5988 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.2066, allocations: 4 kB / 0.5988 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.2067, allocations: 322.8 kB / 0.5991 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.2067, allocations: 0 / 0.5991 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.2068, allocations: 17.72 kB / 0.5991 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.095e-05/0.2068, allocations: 7.984 kB / 0.5991 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2068, allocations: 0 / 0.5991 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.5e-05/0.2069, allocations: 49.62 kB / 0.5992 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2069, allocations: 8 kB / 0.5992 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2069, allocations: 0 / 0.5992 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2069, allocations: 0 / 0.5992 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.207, allocations: 8.125 kB / 0.5992 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.207, allocations: 0 / 0.5992 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.207, allocations: 0 / 0.5992 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.207, allocations: 7.984 kB / 0.5992 GB, free: 5.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.299e-05/0.2071, allocations: 113.7 kB / 0.5993 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.2071, allocations: 15.89 kB / 0.5993 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.179e-05/0.2072, allocations: 40.81 kB / 0.5994 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2072, allocations: 0 / 0.5994 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2073, allocations: 32 / 0.5994 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2073, allocations: 8 kB / 0.5994 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.2074, allocations: 161.6 kB / 0.5995 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2074, allocations: 0 / 0.5995 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.2075, allocations: 4 kB / 0.5995 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2075, allocations: 0 / 0.5995 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2075, allocations: 3.984 kB / 0.5995 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2075, allocations: 0 / 0.5995 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2075, allocations: 3.938 kB / 0.5995 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.2076, allocations: 89.05 kB / 0.5996 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.2077, allocations: 77.11 kB / 0.5997 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.2077, allocations: 3.984 kB / 0.5997 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.2077, allocations: 0 / 0.5997 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.2078, allocations: 4 kB / 0.5997 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.2078, allocations: 256 / 0.5997 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.2078, allocations: 99.2 kB / 0.5998 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2078, allocations: 0 / 0.5998 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001778/0.208, allocations: 4 kB / 0.5998 GB, free: 4.965 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0003726/0.2084, allocations: 0.6202 MB / 0.6004 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.3e-05/0.2085, allocations: 12 kB / 0.6004 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2085, allocations: 0 / 0.6004 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.2085, allocations: 8.203 kB / 0.6004 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.742e-05/0.2086, allocations: 10.41 kB / 0.6004 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.2092, allocations: 0.5139 MB / 0.6009 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.2095, allocations: 0.6848 MB / 0.6016 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.2095, allocations: 3.953 kB / 0.6016 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.2096, allocations: 11.42 kB / 0.6016 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2096, allocations: 4 kB / 0.6016 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.2201, allocations: 0.9741 MB / 0.6026 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.2203, allocations: 183.2 kB / 0.6027 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/1.894, allocations: 4 kB / 0.6028 GB, free: 1.902 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1) Environment - environmentSimulation: