Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 387.1 MB / 399.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009563/0.0009564, allocations: 173 kB / 492.3 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.3 MB / 0.7871 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009482/0.0009478, allocations: 89.83 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.78e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2771, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.179/1.456, allocations: 421.8 MB / 1.624 GB, free: 8.801 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/1.457, allocations: 91.92 kB / 1.625 GB, free: 8.758 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 11.67/13.13, allocations: 2.797 GB / 4.422 GB, free: 73.55 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.184e-06/13.13, allocations: 0 / 4.422 GB, free: 73.55 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001359/13.13, allocations: 174.8 kB / 4.422 GB, free: 73.5 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02174/13.15, allocations: 5.915 MB / 4.428 GB, free: 69.41 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/13.15, allocations: 7.656 kB / 4.428 GB, free: 69.41 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002715/13.16, allocations: 0.5395 MB / 4.428 GB, free: 69 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005827/13.16, allocations: 0.7813 MB / 4.429 GB, free: 68.62 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1321/13.29, allocations: 60.68 MB / 4.488 GB, free: 15.32 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004671/13.29, allocations: 320.1 kB / 4.489 GB, free: 15.01 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/13.3, allocations: 416 kB / 4.489 GB, free: 14.6 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/13.31, allocations: 4.191 MB / 4.493 GB, free: 10.13 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/13.31, allocations: 19.78 kB / 4.493 GB, free: 10.11 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005258/13.31, allocations: 173.2 kB / 4.493 GB, free: 9.941 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/13.31, allocations: 120 kB / 4.493 GB, free: 9.824 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005496/13.32, allocations: 2.79 MB / 4.496 GB, free: 7.031 MB / 1.26 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.03708/13.35, allocations: 24.06 MB / 4.52 GB, free: 13.28 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/13.36, allocations: 2.894 MB / 4.523 GB, free: 10.18 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/13.36, allocations: 1.046 MB / 4.524 GB, free: 9.137 MB / 1.292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003445/13.36, allocations: 3.935 MB / 4.527 GB, free: 4.336 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.611e-05/13.36, allocations: 68.52 kB / 4.527 GB, free: 4.258 MB / 1.292 GB Notification: Performance of pre-optimization done (n=225): time 4.569e-06/13.36, allocations: 0 / 4.527 GB, free: 4.258 MB / 1.292 GB Notification: Performance of matching and sorting (n=225): time 0.006474/13.37, allocations: 2.569 MB / 4.53 GB, free: 1.664 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/13.37, allocations: 77.41 kB / 4.53 GB, free: 1.578 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.257/14.63, allocations: 3.607 MB / 4.534 GB, free: 92.91 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007684/14.63, allocations: 77.08 kB / 4.534 GB, free: 92.88 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002888/14.63, allocations: 2.781 MB / 4.536 GB, free: 92.67 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/14.63, allocations: 0.7871 MB / 4.537 GB, free: 92.28 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/14.63, allocations: 55.62 kB / 4.537 GB, free: 92.28 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0001802/14.63, allocations: 408.9 kB / 4.538 GB, free: 91.97 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/14.63, allocations: 0.7637 MB / 4.538 GB, free: 91.96 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/14.63, allocations: 1.763 MB / 4.54 GB, free: 90.81 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/14.64, allocations: 1.065 MB / 4.541 GB, free: 90.79 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.969e-05/14.64, allocations: 6.031 kB / 4.541 GB, free: 90.79 MB / 1.292 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007994/14.64, allocations: 3.287 MB / 4.544 GB, free: 90.42 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002158/14.65, allocations: 10.36 MB / 4.554 GB, free: 79.66 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.352e-05/14.65, allocations: 25.34 kB / 4.554 GB, free: 79.66 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/14.65, allocations: 393.3 kB / 4.555 GB, free: 79.62 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/14.65, allocations: 0.5235 MB / 4.555 GB, free: 79.62 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/14.65, allocations: 2.682 MB / 4.558 GB, free: 77.54 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006178/14.66, allocations: 0.5497 MB / 4.558 GB, free: 77.46 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004683/14.66, allocations: 134.7 kB / 4.559 GB, free: 77.46 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/14.66, allocations: 3.344 kB / 4.559 GB, free: 77.46 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006048/14.66, allocations: 2.733 MB / 4.561 GB, free: 77.37 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.556e-05/14.67, allocations: 21.84 kB / 4.561 GB, free: 77.37 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/14.67, allocations: 376.1 kB / 4.562 GB, free: 77.34 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/14.67, allocations: 0.5271 MB / 4.562 GB, free: 77.34 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009346/14.68, allocations: 7.7 MB / 4.57 GB, free: 71.71 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006943/14.68, allocations: 0.5072 MB / 4.57 GB, free: 71.65 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007703/14.69, allocations: 129.9 kB / 4.57 GB, free: 71.65 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001072/14.69, allocations: 277.2 kB / 4.571 GB, free: 71.55 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002019/14.69, allocations: 0.5119 MB / 4.571 GB, free: 71.28 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00791/14.7, allocations: 3.721 MB / 4.575 GB, free: 71 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.289e-05/14.7, allocations: 42.92 kB / 4.575 GB, free: 71 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/14.7, allocations: 0 / 4.575 GB, free: 71 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003844/14.7, allocations: 2.537 MB / 4.577 GB, free: 70.79 MB / 1.292 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 postOpt removeSimpleEquations (simulation): time 0.01846/14.72, allocations: 8.524 MB / 4.586 GB, free: 69.29 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/14.72, allocations: 0 / 4.586 GB, free: 69.29 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/14.72, allocations: 384.9 kB / 4.586 GB, free: 69.29 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006835/14.72, allocations: 302.2 kB / 4.586 GB, free: 69.25 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/14.72, allocations: 66.02 kB / 4.586 GB, free: 69.25 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/14.72, allocations: 2.498 MB / 4.589 GB, free: 67.17 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/14.72, allocations: 3.188 kB / 4.589 GB, free: 67.17 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008669/14.73, allocations: 4.654 MB / 4.593 GB, free: 66.4 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00445/14.74, allocations: 0.9919 MB / 4.594 GB, free: 66.03 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001861/14.74, allocations: 47.62 kB / 4.594 GB, free: 66.03 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005823/14.74, allocations: 443.2 kB / 4.595 GB, free: 66.01 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003969/14.74, allocations: 152 kB / 4.595 GB, free: 66 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003762/14.74, allocations: 118.1 kB / 4.595 GB, free: 66 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.006921/14.75, allocations: 2.746 MB / 4.598 GB, free: 65.8 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.112e-06/14.75, allocations: 1.812 kB / 4.598 GB, free: 65.8 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.02468/14.78, allocations: 3.594 MB / 4.601 GB, free: 65.62 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0242/14.8, allocations: 8.507 MB / 4.609 GB, free: 63.12 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.01569/14.82, allocations: 4.507 MB / 4.614 GB, free: 62.54 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/14.82, allocations: 2.438 kB / 4.614 GB, free: 62.54 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.00357/14.82, allocations: 1.286 MB / 4.615 GB, free: 62.52 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0231/14.84, allocations: 2.706 MB / 4.618 GB, free: 62.5 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0323/14.88, allocations: 8.59 MB / 4.626 GB, free: 60.45 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004218/14.88, allocations: 3.007 MB / 4.629 GB, free: 59.65 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.01511/14.89, allocations: 1.505 MB / 4.631 GB, free: 59.61 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005711/14.9, allocations: 2.453 MB / 4.633 GB, free: 59.61 MB / 1.292 GB Notification: Performance of SimCode: time 2.765e-06/14.9, allocations: 0 / 4.633 GB, free: 59.61 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3881/15.29, allocations: 183.4 MB / 4.812 GB, free: 49.21 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/15.29, allocations: 219.8 kB / 4.812 GB, free: 48.99 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.809/25.1, allocations: 4 kB / 4.812 GB, free: 48.99 MB / 1.292 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat does not exist to compare? outputFormat=mat