Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5517/0.5517, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 221.5 MB / 343.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 99.25 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.536e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1651, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.36, allocations: 371.3 MB / 0.9162 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/1.36, allocations: 91.69 kB / 0.9163 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.511/2.871, allocations: 441.8 MB / 1.348 GB, free: 94.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.455e-06/2.871, allocations: 2.938 kB / 1.348 GB, free: 94.38 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001603/2.871, allocations: 34.84 kB / 1.348 GB, free: 94.38 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002936/2.874, allocations: 1.251 MB / 1.349 GB, free: 93.76 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/2.874, allocations: 7.656 kB / 1.349 GB, free: 93.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006487/2.875, allocations: 131 kB / 1.349 GB, free: 93.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02427/2.899, allocations: 12.93 MB / 1.362 GB, free: 91.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/2.899, allocations: 23.25 kB / 1.362 GB, free: 91.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/2.899, allocations: 43.38 kB / 1.362 GB, free: 91.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001046/2.901, allocations: 453.2 kB / 1.362 GB, free: 91.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/2.902, allocations: 0.6258 MB / 1.363 GB, free: 91.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/2.902, allocations: 3.953 kB / 1.363 GB, free: 91.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/2.902, allocations: 7.25 kB / 1.363 GB, free: 91.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/2.902, allocations: 22.25 kB / 1.363 GB, free: 91.29 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.004275/2.906, allocations: 3.382 MB / 1.366 GB, free: 88.91 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/2.907, allocations: 319.1 kB / 1.366 GB, free: 88.71 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/2.907, allocations: 152 kB / 1.367 GB, free: 88.65 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004117/2.907, allocations: 0.6602 MB / 1.367 GB, free: 87.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/2.907, allocations: 44.95 kB / 1.367 GB, free: 87.85 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=31): time 2.604e-06/2.907, allocations: 0 / 1.367 GB, free: 87.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31): time 0.0008403/2.908, allocations: 349.3 kB / 1.368 GB, free: 87.7 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/2.908, allocations: 55.16 kB / 1.368 GB, free: 87.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008528/2.909, allocations: 0.6464 MB / 1.368 GB, free: 87.33 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/2.909, allocations: 25.7 kB / 1.368 GB, free: 87.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/2.909, allocations: 0.5025 MB / 1.369 GB, free: 86.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.259e-05/2.909, allocations: 107.5 kB / 1.369 GB, free: 86.82 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/2.91, allocations: 0 / 1.369 GB, free: 86.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.664e-05/2.91, allocations: 325.5 kB / 1.369 GB, free: 86.51 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/2.91, allocations: 115.8 kB / 1.369 GB, free: 86.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/2.91, allocations: 320 kB / 1.37 GB, free: 86.17 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/2.91, allocations: 196 kB / 1.37 GB, free: 86.11 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/2.91, allocations: 3.812 kB / 1.37 GB, free: 86.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008481/2.911, allocations: 496.8 kB / 1.37 GB, free: 85.92 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/2.911, allocations: 9.469 kB / 1.37 GB, free: 85.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/2.911, allocations: 3.75 kB / 1.37 GB, free: 85.92 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/2.911, allocations: 7.531 kB / 1.37 GB, free: 85.92 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/2.912, allocations: 121 kB / 1.37 GB, free: 85.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/2.912, allocations: 13.66 kB / 1.37 GB, free: 85.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007138/2.913, allocations: 77.95 kB / 1.371 GB, free: 85.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/2.913, allocations: 28.52 kB / 1.371 GB, free: 85.89 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001293/2.913, allocations: 124.1 kB / 1.371 GB, free: 85.78 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006093/2.913, allocations: 346.5 kB / 1.371 GB, free: 85.63 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/2.913, allocations: 90.27 kB / 1.371 GB, free: 85.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007206/2.914, allocations: 405.1 kB / 1.372 GB, free: 85.42 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/2.914, allocations: 9.156 kB / 1.372 GB, free: 85.42 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.914, allocations: 0 / 1.372 GB, free: 85.42 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004589/2.915, allocations: 398.5 kB / 1.372 GB, free: 85.18 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/2.916, allocations: 1.272 MB / 1.373 GB, free: 84.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/2.916, allocations: 0 / 1.373 GB, free: 84.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/2.917, allocations: 87.17 kB / 1.373 GB, free: 84.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/2.917, allocations: 3.938 kB / 1.373 GB, free: 84.45 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/2.917, allocations: 7.781 kB / 1.373 GB, free: 84.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/2.917, allocations: 2.312 kB / 1.373 GB, free: 84.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.917, allocations: 3.875 kB / 1.373 GB, free: 84.45 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/2.918, allocations: 0.7403 MB / 1.374 GB, free: 83.98 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/2.918, allocations: 229.3 kB / 1.374 GB, free: 83.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/2.918, allocations: 3.875 kB / 1.374 GB, free: 83.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005314/2.919, allocations: 51.5 kB / 1.374 GB, free: 83.79 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/2.919, allocations: 34.88 kB / 1.374 GB, free: 83.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/2.919, allocations: 14.69 kB / 1.374 GB, free: 83.79 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005474/2.919, allocations: 0.4897 MB / 1.375 GB, free: 83.55 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/2.919, allocations: 0 / 1.375 GB, free: 83.55 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0012/2.921, allocations: 373.7 kB / 1.375 GB, free: 83.46 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002119/2.923, allocations: 2.083 MB / 1.377 GB, free: 82.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004723/2.923, allocations: 332.1 kB / 1.377 GB, free: 81.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/2.923, allocations: 0 / 1.377 GB, free: 81.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/2.923, allocations: 161.2 kB / 1.378 GB, free: 81.87 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/2.926, allocations: 469.2 kB / 1.378 GB, free: 81.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/2.928, allocations: 1.39 MB / 1.379 GB, free: 81.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/2.929, allocations: 1.06 MB / 1.38 GB, free: 80.46 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007091/2.929, allocations: 183.7 kB / 1.381 GB, free: 80.44 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/2.93, allocations: 357.3 kB / 1.381 GB, free: 80.18 MB / 0.5886 GB Notification: Performance of SimCode: time 4.3e-07/2.93, allocations: 0 / 1.381 GB, free: 80.18 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05394/2.984, allocations: 25.14 MB / 1.406 GB, free: 64.86 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/2.984, allocations: 174.9 kB / 1.406 GB, free: 64.67 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/5.644, allocations: 6.531 kB / 1.406 GB, free: 64.67 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)