Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.44/1.44, allocations: 251.9 MB / 266.9 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.001474/0.001474, allocations: 179.4 kB / 326.5 MB, free: 2.254 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.893/1.893, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.000902/0.0009017, allocations: 88.48 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003827, allocations: 11.69 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2443, allocations: 106.4 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.26/6.504, allocations: 2.459 GB / 3.359 GB, free: 97.84 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/6.505, allocations: 95.95 kB / 3.359 GB, free: 97.75 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.227/10.73, allocations: 1.083 GB / 4.442 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.725e-06/10.73, allocations: 0 / 4.442 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002746/10.73, allocations: 51.98 kB / 4.442 GB, free: 12.67 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.007735/10.74, allocations: 2.43 MB / 4.445 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/10.74, allocations: 8.031 kB / 4.445 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007363/10.74, allocations: 202.8 kB / 4.445 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/10.74, allocations: 377.2 kB / 4.445 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004133/10.75, allocations: 1.656 MB / 4.447 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-05/10.75, allocations: 110.7 kB / 4.447 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/10.75, allocations: 144.3 kB / 4.447 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/10.75, allocations: 1.476 MB / 4.449 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/10.75, allocations: 4 kB / 4.449 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/10.75, allocations: 59.98 kB / 4.449 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.777e-05/10.75, allocations: 58.62 kB / 4.449 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/10.75, allocations: 1.135 MB / 4.45 GB, free: 4.863 MB / 0.8855 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.008939/10.76, allocations: 7.147 MB / 4.457 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/10.76, allocations: 0.8651 MB / 4.458 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008725/10.76, allocations: 0.7162 MB / 4.458 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/10.76, allocations: 43.22 kB / 4.458 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=75): time 3.076e-06/10.76, allocations: 4 kB / 4.458 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75): time 0.007185/10.77, allocations: 2.198 MB / 4.461 GB, free: 9.078 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/10.77, allocations: 60.06 kB / 4.461 GB, free: 9.008 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/10.77, allocations: 1.145 MB / 4.462 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/10.77, allocations: 41.7 kB / 4.462 GB, free: 7.809 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006548/10.77, allocations: 0.806 MB / 4.463 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/10.77, allocations: 264.2 kB / 4.463 GB, free: 6.73 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/10.77, allocations: 12 kB / 4.463 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001334/10.77, allocations: 341.9 kB / 4.463 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/10.77, allocations: 317.8 kB / 4.464 GB, free: 6.07 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000814/10.78, allocations: 0.5946 MB / 4.464 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/10.78, allocations: 412.1 kB / 4.464 GB, free: 4.953 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/10.78, allocations: 0 / 4.464 GB, free: 4.953 MB / 0.9011 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002286/10.78, allocations: 1.189 MB / 4.466 GB, free: 3.746 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007555/10.78, allocations: 1.798 MB / 4.467 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/10.78, allocations: 7.938 kB / 4.467 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/10.78, allocations: 386.1 kB / 4.468 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/10.78, allocations: 147.8 kB / 4.468 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/10.78, allocations: 2.086 MB / 4.47 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/10.78, allocations: 175.2 kB / 4.47 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/10.78, allocations: 35.98 kB / 4.47 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/10.78, allocations: 13.66 kB / 4.47 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001909/10.79, allocations: 1.017 MB / 4.471 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/10.79, allocations: 7.984 kB / 4.471 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/10.79, allocations: 386.5 kB / 4.472 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/10.79, allocations: 155.8 kB / 4.472 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003586/10.79, allocations: 3.884 MB / 4.475 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/10.79, allocations: 167.1 kB / 4.476 GB, free: 8.945 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/10.79, allocations: 39.98 kB / 4.476 GB, free: 8.906 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001155/10.8, allocations: 473.4 kB / 4.476 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/10.8, allocations: 158.1 kB / 4.476 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/10.8, allocations: 1.175 MB / 4.477 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/10.8, allocations: 12 kB / 4.477 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/10.8, allocations: 0 / 4.477 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/10.8, allocations: 1.251 MB / 4.479 GB, free: 5.727 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/10.81, allocations: 2.742 MB / 4.481 GB, free: 2.883 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/10.81, allocations: 4 kB / 4.481 GB, free: 2.879 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/10.81, allocations: 107.8 kB / 4.481 GB, free: 2.773 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/10.81, allocations: 374.3 kB / 4.482 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/10.81, allocations: 27.94 kB / 4.482 GB, free: 2.371 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/10.81, allocations: 2.066 MB / 4.484 GB, free: 236 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/10.81, allocations: 12.08 kB / 4.484 GB, free: 224 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6795/11.49, allocations: 1.379 MB / 4.485 GB, free: 129.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/11.49, allocations: 350.5 kB / 4.486 GB, free: 129.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/11.49, allocations: 18.36 kB / 4.486 GB, free: 129.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/11.49, allocations: 126.1 kB / 4.486 GB, free: 129.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/11.49, allocations: 49.12 kB / 4.486 GB, free: 129.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.63e-05/11.49, allocations: 33.3 kB / 4.486 GB, free: 129.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001544/11.49, allocations: 0.8925 MB / 4.487 GB, free: 129.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.51e-07/11.49, allocations: 0 / 4.487 GB, free: 129.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003901/11.5, allocations: 1.102 MB / 4.488 GB, free: 129.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006271/11.5, allocations: 4.708 MB / 4.492 GB, free: 127.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004776/11.51, allocations: 1.611 MB / 4.494 GB, free: 126.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/11.51, allocations: 1.188 kB / 4.494 GB, free: 126.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/11.51, allocations: 495.2 kB / 4.494 GB, free: 126.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005181/11.51, allocations: 0.796 MB / 4.495 GB, free: 126.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02168/11.54, allocations: 11.84 MB / 4.507 GB, free: 120.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/11.54, allocations: 1.387 MB / 4.508 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002175/11.54, allocations: 323.4 kB / 4.508 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/11.54, allocations: 0.6348 MB / 4.509 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.904e-06/11.54, allocations: 0 / 4.509 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/11.67, allocations: 75.64 MB / 4.583 GB, free: 118 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/11.67, allocations: 284.8 kB / 4.583 GB, free: 117.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.735/16.41, allocations: 0 / 4.583 GB, free: 117.7 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)