Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",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.328/2.328, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001206/0.001206, allocations: 180.9 kB / 492.3 MB, free: 0.625 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.66/1.66, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001061/0.001061, allocations: 95.88 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.856e-05/4.858e-05, allocations: 8.938 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3774, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.527/1.905, allocations: 448.7 MB / 1.651 GB, free: 14.07 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004416/1.905, allocations: 87.52 kB / 1.651 GB, free: 14.03 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 5.347/7.252, allocations: 1 GB / 2.651 GB, free: 201.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.795e-06/7.252, allocations: 0 / 2.651 GB, free: 201.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005722/7.253, allocations: 56.38 kB / 2.651 GB, free: 201.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.009491/7.263, allocations: 2.096 MB / 2.653 GB, free: 200.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.562e-05/7.263, allocations: 9.5 kB / 2.653 GB, free: 200.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008839/7.264, allocations: 176.2 kB / 2.653 GB, free: 200.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005704/7.269, allocations: 0.8107 MB / 2.654 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02937/7.299, allocations: 9.093 MB / 2.663 GB, free: 200.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002419/7.299, allocations: 95.61 kB / 2.663 GB, free: 200 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007589/7.3, allocations: 126.7 kB / 2.663 GB, free: 200 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004877/7.305, allocations: 1.42 MB / 2.664 GB, free: 199.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.355e-05/7.305, allocations: 8.531 kB / 2.664 GB, free: 199.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003273/7.305, allocations: 55.91 kB / 2.664 GB, free: 199.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.855e-05/7.305, allocations: 49.11 kB / 2.664 GB, free: 199.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/7.308, allocations: 1.015 MB / 2.665 GB, free: 199.7 MB / 1.151 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.01463/7.322, allocations: 8.41 MB / 2.674 GB, free: 194.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/7.325, allocations: 0.95 MB / 2.675 GB, free: 194.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007193/7.326, allocations: 397.6 kB / 2.675 GB, free: 194.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006682/7.333, allocations: 2.983 MB / 2.678 GB, free: 193.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007925/7.334, allocations: 450 kB / 2.678 GB, free: 193.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001417/7.335, allocations: 183.9 kB / 2.679 GB, free: 193 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 5.43e-06/7.335, allocations: 0 / 2.679 GB, free: 193 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.001562/7.337, allocations: 0.7701 MB / 2.679 GB, free: 192.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/7.337, allocations: 60.14 kB / 2.679 GB, free: 192.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/7.339, allocations: 1.316 MB / 2.681 GB, free: 192.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.955e-05/7.339, allocations: 43.83 kB / 2.681 GB, free: 192.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009139/7.34, allocations: 0.8882 MB / 2.682 GB, free: 192.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/7.34, allocations: 241.3 kB / 2.682 GB, free: 192.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/7.34, allocations: 20.97 kB / 2.682 GB, free: 192.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001103/7.341, allocations: 347.3 kB / 2.682 GB, free: 191.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005307/7.341, allocations: 321.7 kB / 2.682 GB, free: 191.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008699/7.342, allocations: 0.7646 MB / 2.683 GB, free: 191.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/7.343, allocations: 434.1 kB / 2.684 GB, free: 191.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/7.343, allocations: 3.562 kB / 2.684 GB, free: 191.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00217/7.345, allocations: 1.226 MB / 2.685 GB, free: 191.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001542/7.346, allocations: 5.109 MB / 2.69 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/7.346, allocations: 15.16 kB / 2.69 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.094e-05/7.347, allocations: 20.22 kB / 2.69 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/7.348, allocations: 307.1 kB / 2.69 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.149e-05/7.348, allocations: 33.03 kB / 2.69 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/7.35, allocations: 157.6 kB / 2.69 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/7.35, allocations: 59.39 kB / 2.69 GB, free: 185.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/7.35, allocations: 8.125 kB / 2.69 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0025/7.353, allocations: 1.051 MB / 2.691 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/7.353, allocations: 11.47 kB / 2.691 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.179e-05/7.353, allocations: 20.56 kB / 2.691 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/7.354, allocations: 309.5 kB / 2.692 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.056e-05/7.354, allocations: 24.31 kB / 2.692 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/7.357, allocations: 150.4 kB / 2.692 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/7.357, allocations: 64.36 kB / 2.692 GB, free: 185.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * 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.0004838/7.357, allocations: 181.5 kB / 2.692 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004438/7.358, allocations: 176.2 kB / 2.692 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/7.361, allocations: 1.072 MB / 2.693 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/7.361, allocations: 15.23 kB / 2.693 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/7.361, allocations: 0 / 2.693 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001598/7.362, allocations: 0.9538 MB / 2.694 GB, free: 185.2 MB / 1.151 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.006629/7.369, allocations: 2.515 MB / 2.697 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/7.369, allocations: 1.438 kB / 2.697 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/7.37, allocations: 180.9 kB / 2.697 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/7.37, allocations: 6.938 kB / 2.697 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/7.37, allocations: 31.06 kB / 2.697 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/7.37, allocations: 7.547 kB / 2.697 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/7.37, allocations: 1.562 kB / 2.697 GB, free: 184.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/7.373, allocations: 1.532 MB / 2.698 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/7.374, allocations: 353.3 kB / 2.699 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/7.375, allocations: 15.44 kB / 2.699 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/7.376, allocations: 143.9 kB / 2.699 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/7.376, allocations: 55.16 kB / 2.699 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.597e-05/7.376, allocations: 34.98 kB / 2.699 GB, free: 184.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002035/7.378, allocations: 1.007 MB / 2.7 GB, free: 184 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.7e-07/7.378, allocations: 0 / 2.7 GB, free: 184 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004685/7.383, allocations: 1.025 MB / 2.701 GB, free: 183.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.004417/7.387, allocations: 3.262 MB / 2.704 GB, free: 182.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00271/7.39, allocations: 1.592 MB / 2.706 GB, free: 182.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/7.39, allocations: 0 / 2.706 GB, free: 182.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006173/7.391, allocations: 427.1 kB / 2.706 GB, free: 182.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/7.395, allocations: 0.7405 MB / 2.707 GB, free: 182.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008353/7.403, allocations: 3.159 MB / 2.71 GB, free: 181.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007793/7.404, allocations: 1.399 MB / 2.711 GB, free: 181.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003017/7.407, allocations: 0.6001 MB / 2.712 GB, free: 181.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009406/7.408, allocations: 0.7175 MB / 2.713 GB, free: 181.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.383e-06/7.408, allocations: 0 / 2.713 GB, free: 181.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/7.522, allocations: 59.63 MB / 2.771 GB, free: 179 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/7.522, allocations: 231.1 kB / 2.771 GB, free: 178.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.312/12.83, allocations: 0 / 2.771 GB, free: 178.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat does not exist to compare? outputFormat=mat