Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 181.6 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008527/0.0008527, allocations: 87.56 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 14.66 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2345, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0006316/0.2352, allocations: 268.4 kB / 0.9004 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000162/0.2354, allocations: 44.5 kB / 0.9004 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.2354, allocations: 4 kB / 0.9005 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.2355, allocations: 0 / 0.9005 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.2356, allocations: 0 / 0.9005 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.332e-05/0.2357, allocations: 4 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.997e-05/0.2357, allocations: 11.92 kB / 0.9005 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.2358, allocations: 0 / 0.9005 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.66e-05/0.2358, allocations: 11.98 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.2359, allocations: 4 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.2359, allocations: 0 / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.236, allocations: 0 / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.236, allocations: 4 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.236, allocations: 33.62 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.406e-05/0.2361, allocations: 4 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2361, allocations: 0 / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2361, allocations: 4 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.2361, allocations: 3.938 kB / 0.9005 GB, free: 63.44 MB / 0.6042 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.0003361/0.2364, allocations: 323.4 kB / 0.9008 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2365, allocations: 8.031 kB / 0.9008 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.2365, allocations: 30.56 kB / 0.9009 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.2365, allocations: 7.984 kB / 0.9009 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2367, allocations: 170.9 kB / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.2367, allocations: 0 / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.2367, allocations: 0 / 0.901 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.497e-05/0.2368, allocations: 41.69 kB / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2368, allocations: 0 / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.2368, allocations: 0 / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2368, allocations: 0 / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.2369, allocations: 7.938 kB / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.237, allocations: 157.7 kB / 0.9012 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.531e-05/0.237, allocations: 22.56 kB / 0.9013 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2371, allocations: 0 / 0.9013 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.2371, allocations: 34.56 kB / 0.9013 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.2371, allocations: 0 / 0.9013 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001237/0.2372, allocations: 45.69 kB / 0.9013 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.2372, allocations: 51.41 kB / 0.9014 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.994e-05/0.2373, allocations: 105.8 kB / 0.9015 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.2373, allocations: 33.64 kB / 0.9015 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.301e-05/0.2373, allocations: 84.14 kB / 0.9016 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.2374, allocations: 8.031 kB / 0.9016 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.2374, allocations: 0 / 0.9016 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.2374, allocations: 318.8 kB / 0.9019 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.2375, allocations: 4 kB / 0.9019 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.2375, allocations: 15.03 kB / 0.9019 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.973e-05/0.2375, allocations: 11.94 kB / 0.9019 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2375, allocations: 0 / 0.9019 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.043e-05/0.2376, allocations: 53.69 kB / 0.902 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2376, allocations: 4 kB / 0.902 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2376, allocations: 3.984 kB / 0.902 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2376, allocations: 4 kB / 0.902 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.2377, allocations: 4 kB / 0.902 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2377, allocations: 3.938 kB / 0.902 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.2377, allocations: 0 / 0.902 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.2377, allocations: 0 / 0.902 GB, free: 61.69 MB / 0.6042 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 5.047e-05/0.2378, allocations: 122.1 kB / 0.9021 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-06/0.2378, allocations: 0 / 0.9021 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.929e-05/0.2379, allocations: 56.69 kB / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2379, allocations: 0 / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2379, allocations: 0 / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2379, allocations: 0 / 0.9022 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.843e-05/0.238, allocations: 153.7 kB / 0.9023 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.238, allocations: 4.203 kB / 0.9023 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.2381, allocations: 4 kB / 0.9023 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2381, allocations: 7.984 kB / 0.9023 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.2381, allocations: 8.031 kB / 0.9024 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2381, allocations: 0 / 0.9024 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2381, allocations: 0 / 0.9024 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.684e-05/0.2382, allocations: 76.97 kB / 0.9024 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.2382, allocations: 85.05 kB / 0.9025 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.2382, allocations: 4.031 kB / 0.9025 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.2383, allocations: 4 kB / 0.9025 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.2383, allocations: 4.094 kB / 0.9025 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.2383, allocations: 0 / 0.9025 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.01e-05/0.2383, allocations: 87.27 kB / 0.9026 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2383, allocations: 0 / 0.9026 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002113/0.2385, allocations: 8 kB / 0.9026 GB, free: 60.98 MB / 0.6042 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.0002412/0.2388, allocations: 0.6124 MB / 0.9032 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.246e-05/0.2389, allocations: 15.94 kB / 0.9032 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2389, allocations: 0 / 0.9032 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.2389, allocations: 7.984 kB / 0.9032 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.239, allocations: 6.062 kB / 0.9032 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.2394, allocations: 0.5216 MB / 0.9037 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.2396, allocations: 0.6809 MB / 0.9044 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.873e-05/0.2396, allocations: 4 kB / 0.9044 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.2396, allocations: 11.42 kB / 0.9044 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2396, allocations: 0 / 0.9044 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009862/0.2495, allocations: 0.9733 MB / 0.9054 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001294/0.2497, allocations: 185.6 kB / 0.9056 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.735, allocations: 0 / 0.9056 GB, free: 57.92 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)