Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4",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.004899/0.004899, allocations: 102 kB / 15.73 MB, free: 6.039 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.00122/0.00122, allocations: 194.5 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 288.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8761/0.8761, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 99.84 kB / 0.6809 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3714, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5639/0.9353, allocations: 237.5 MB / 0.9979 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01689/0.9522, allocations: 15.78 MB / 1.013 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.9546, allocations: 60.12 kB / 1.013 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00236/0.957, allocations: 1.034 MB / 1.014 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006419/0.9635, allocations: 2.982 MB / 1.017 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.9672, allocations: 1.691 MB / 1.019 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004228/0.9715, allocations: 3.441 MB / 1.022 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.9732, allocations: 1.291 MB / 1.024 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005541/0.9788, allocations: 2.515 MB / 1.026 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.9808, allocations: 1.082 MB / 1.027 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002797/0.9811, allocations: 116.9 kB / 1.027 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005102/0.9862, allocations: 3.098 MB / 1.03 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006048/0.9869, allocations: 476.4 kB / 1.031 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.9882, allocations: 0.8103 MB / 1.031 GB, free: 500 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005354/0.9936, allocations: 2.978 MB / 1.034 GB, free: 104 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.9936, allocations: 0.9062 kB / 1.034 GB, free: 104 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.684e-06/0.9936, allocations: 2.438 kB / 1.034 GB, free: 104 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.251e-05/0.9937, allocations: 0 / 1.034 GB, free: 104 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003945/0.9976, allocations: 2.005 MB / 1.036 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.9977, allocations: 10.69 kB / 1.036 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/0.9979, allocations: 156.5 kB / 1.036 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/1.001, allocations: 0.4908 MB / 1.037 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/1.003, allocations: 1.177 MB / 1.038 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/1.003, allocations: 80.47 kB / 1.038 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/1.003, allocations: 103.8 kB / 1.038 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/1.005, allocations: 1.352 MB / 1.04 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/1.005, allocations: 3.094 kB / 1.04 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.482e-05/1.005, allocations: 45.94 kB / 1.04 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/1.005, allocations: 43.78 kB / 1.04 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/1.007, allocations: 1.05 MB / 1.041 GB, free: 14.11 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007331/1.015, allocations: 7.372 MB / 1.048 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/1.016, allocations: 0.5435 MB / 1.048 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/1.017, allocations: 264.9 kB / 1.049 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003583/1.017, allocations: 288.5 kB / 1.049 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/1.017, allocations: 45.84 kB / 1.049 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.785e-06/1.017, allocations: 0 / 1.049 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002146/1.019, allocations: 0.8327 MB / 1.05 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/1.019, allocations: 54.19 kB / 1.05 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/1.021, allocations: 1.399 MB / 1.051 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.876e-05/1.021, allocations: 32.55 kB / 1.051 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000509/1.022, allocations: 0.7005 MB / 1.052 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/1.022, allocations: 125.8 kB / 1.052 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/1.022, allocations: 165.6 kB / 1.052 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.022, allocations: 335.2 kB / 1.053 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007091/1.023, allocations: 312.2 kB / 1.053 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009671/1.024, allocations: 0.6852 MB / 1.053 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/1.025, allocations: 0.9331 MB / 1.054 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.025, allocations: 2.938 kB / 1.054 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002142/1.028, allocations: 1.048 MB / 1.055 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/1.028, allocations: 17.22 kB / 1.055 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/1.028, allocations: 14.28 kB / 1.055 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/1.028, allocations: 17.5 kB / 1.055 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/1.028, allocations: 199 kB / 1.056 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/1.028, allocations: 21.09 kB / 1.056 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/1.03, allocations: 181.4 kB / 1.056 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/1.03, allocations: 44.8 kB / 1.056 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001069/1.031, allocations: 0.5646 MB / 1.056 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009301/1.032, allocations: 0.6852 MB / 1.057 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001494/1.033, allocations: 0.9306 MB / 1.058 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.063e-06/1.033, allocations: 4.781 kB / 1.058 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002024/1.035, allocations: 1.04 MB / 1.059 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.035, allocations: 14.53 kB / 1.059 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.035, allocations: 15.16 kB / 1.059 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/1.035, allocations: 15.97 kB / 1.059 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/1.036, allocations: 208.1 kB / 1.059 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/1.036, allocations: 26.58 kB / 1.059 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.037, allocations: 135 kB / 1.059 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.608e-05/1.038, allocations: 43.33 kB / 1.059 GB, free: 1.793 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002328/1.038, allocations: 237 kB / 1.06 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/1.038, allocations: 141 kB / 1.06 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/1.039, allocations: 0.6446 MB / 1.06 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.039, allocations: 2.781 kB / 1.06 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.039, allocations: 0 / 1.06 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.04, allocations: 0 / 1.06 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003239/1.043, allocations: 1.884 MB / 1.062 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.043, allocations: 4 kB / 1.062 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004726/1.043, allocations: 97.2 kB / 1.062 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/1.043, allocations: 11.94 kB / 1.062 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/1.043, allocations: 11.98 kB / 1.062 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/1.043, allocations: 12 kB / 1.062 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.043, allocations: 6.625 kB / 1.062 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/1.045, allocations: 0.8085 MB / 1.063 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/1.045, allocations: 303 kB / 1.064 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/1.046, allocations: 8 kB / 1.064 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009469/1.046, allocations: 67.92 kB / 1.064 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/1.047, allocations: 38.44 kB / 1.064 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/1.047, allocations: 23.97 kB / 1.064 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001358/1.048, allocations: 1.005 MB / 1.065 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/1.048, allocations: 4 kB / 1.065 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001764/1.05, allocations: 0.5735 MB / 1.065 GB, free: 12.25 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002091/1.052, allocations: 1.514 MB / 1.067 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00255/1.054, allocations: 1.141 MB / 1.068 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.054, allocations: 0 / 1.068 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005841/1.055, allocations: 249.6 kB / 1.068 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/1.058, allocations: 0.7467 MB / 1.069 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.074, allocations: 9.78 MB / 1.078 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/1.074, allocations: 1.182 MB / 1.079 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001308/1.076, allocations: 383.8 kB / 1.08 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006139/1.076, allocations: 499.3 kB / 1.08 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of SimCode: time 5.51e-07/1.076, allocations: 4 kB / 1.08 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0634/1.14, allocations: 36.25 MB / 1.116 GB, free: 8.645 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.63/10.77, allocations: 14.88 kB / 1.116 GB, free: 8.637 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)