Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",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.437/2.437, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001538/0.001537, allocations: 176.9 kB / 492.3 MB, free: 0.6367 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.812/1.812, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009502/0.0009504, allocations: 91.88 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.361e-05/4.423e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.41, allocations: 142.4 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.715/2.125, allocations: 441.4 MB / 1.644 GB, free: 5.195 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/2.125, allocations: 92.39 kB / 1.644 GB, free: 5.148 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.1/6.225, allocations: 0.7043 GB / 2.348 GB, free: 266.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.867e-06/6.225, allocations: 0 / 2.348 GB, free: 266.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005719/6.226, allocations: 40.05 kB / 2.348 GB, free: 266.9 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.008775/6.235, allocations: 1.719 MB / 2.35 GB, free: 265.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.26e-05/6.235, allocations: 11.75 kB / 2.35 GB, free: 265.9 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000812/6.236, allocations: 129.3 kB / 2.35 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/6.239, allocations: 443.7 kB / 2.35 GB, free: 265.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02226/6.261, allocations: 8.725 MB / 2.359 GB, free: 261.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/6.261, allocations: 70.59 kB / 2.359 GB, free: 261.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/6.262, allocations: 86.78 kB / 2.359 GB, free: 261.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/6.264, allocations: 0.9828 MB / 2.36 GB, free: 260.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/6.264, allocations: 7.781 kB / 2.36 GB, free: 260.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.607e-05/6.264, allocations: 35.31 kB / 2.36 GB, free: 260.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/6.264, allocations: 28.34 kB / 2.36 GB, free: 260.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/6.265, allocations: 0.6662 MB / 2.36 GB, free: 260.4 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.008233/6.273, allocations: 4.778 MB / 2.365 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008595/6.274, allocations: 446.1 kB / 2.366 GB, free: 256.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/6.275, allocations: 250.1 kB / 2.366 GB, free: 256.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003135/6.278, allocations: 1.708 MB / 2.367 GB, free: 254.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006085/6.279, allocations: 387.5 kB / 2.368 GB, free: 254.2 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006666/6.279, allocations: 87.98 kB / 2.368 GB, free: 254.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 3.276e-06/6.279, allocations: 0 / 2.368 GB, free: 254.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=47): time 0.00151/6.281, allocations: 0.6857 MB / 2.369 GB, free: 253.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/6.281, allocations: 110.5 kB / 2.369 GB, free: 253.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/6.283, allocations: 1.105 MB / 2.37 GB, free: 253.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/6.283, allocations: 40.73 kB / 2.37 GB, free: 253.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006748/6.284, allocations: 0.6481 MB / 2.37 GB, free: 252.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/6.284, allocations: 156.5 kB / 2.371 GB, free: 252.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/6.284, allocations: 11.19 kB / 2.371 GB, free: 252.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001275/6.284, allocations: 339.9 kB / 2.371 GB, free: 252.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/6.284, allocations: 213.7 kB / 2.371 GB, free: 252 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/6.285, allocations: 490.9 kB / 2.372 GB, free: 251.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/6.285, allocations: 306.6 kB / 2.372 GB, free: 251.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.21e-05/6.285, allocations: 0 / 2.372 GB, free: 251.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001659/6.287, allocations: 0.9155 MB / 2.373 GB, free: 250.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001066/6.288, allocations: 2.794 MB / 2.376 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/6.288, allocations: 7.188 kB / 2.376 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004739/6.289, allocations: 83.62 kB / 2.376 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/6.289, allocations: 163.7 kB / 2.376 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007063/6.29, allocations: 1.122 MB / 2.377 GB, free: 246.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/6.291, allocations: 103.3 kB / 2.377 GB, free: 246.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/6.291, allocations: 47.19 kB / 2.377 GB, free: 246.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/6.291, allocations: 7.5 kB / 2.377 GB, free: 246.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001335/6.293, allocations: 0.7619 MB / 2.378 GB, free: 246.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/6.293, allocations: 7.844 kB / 2.378 GB, free: 246.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002681/6.293, allocations: 83.97 kB / 2.378 GB, free: 246.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/6.294, allocations: 159.9 kB / 2.378 GB, free: 246.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005831/6.294, allocations: 1.128 MB / 2.379 GB, free: 245.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/6.295, allocations: 90.84 kB / 2.379 GB, free: 245.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.156e-05/6.296, allocations: 42.2 kB / 2.379 GB, free: 245.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003109/6.296, allocations: 176.7 kB / 2.379 GB, free: 245.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/6.296, allocations: 143 kB / 2.38 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/6.298, allocations: 0.9052 MB / 2.38 GB, free: 244.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/6.298, allocations: 7.719 kB / 2.38 GB, free: 244.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/6.298, allocations: 3.984 kB / 2.38 GB, free: 244.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/6.298, allocations: 2.219 kB / 2.38 GB, free: 244.5 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.003889/6.302, allocations: 2.033 MB / 2.382 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/6.302, allocations: 0 / 2.382 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/6.303, allocations: 108 kB / 2.383 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/6.303, allocations: 88.77 kB / 2.383 GB, free: 243 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/6.303, allocations: 19.61 kB / 2.383 GB, free: 243 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008377/6.304, allocations: 1.109 MB / 2.384 GB, free: 241.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/6.304, allocations: 7.844 kB / 2.384 GB, free: 241.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/6.306, allocations: 1.071 MB / 2.385 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007878/6.307, allocations: 293.4 kB / 2.385 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/6.307, allocations: 10.84 kB / 2.385 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008719/6.308, allocations: 96.66 kB / 2.385 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/6.308, allocations: 35.05 kB / 2.385 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.28e-05/6.308, allocations: 34 kB / 2.385 GB, free: 240.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001703/6.31, allocations: 0.8588 MB / 2.386 GB, free: 240.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/6.31, allocations: 3.562 kB / 2.386 GB, free: 240.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003827/6.314, allocations: 0.7871 MB / 2.387 GB, free: 240.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005006/6.319, allocations: 2.834 MB / 2.39 GB, free: 238.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002409/6.321, allocations: 1.134 MB / 2.391 GB, free: 237.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/6.321, allocations: 0 / 2.391 GB, free: 237.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006182/6.322, allocations: 380.7 kB / 2.391 GB, free: 237.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/6.325, allocations: 0.6065 MB / 2.392 GB, free: 237.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00621/6.331, allocations: 2.025 MB / 2.394 GB, free: 236.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/6.333, allocations: 1.238 MB / 2.395 GB, free: 235.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002367/6.335, allocations: 433.6 kB / 2.395 GB, free: 235.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007252/6.336, allocations: 0.5037 MB / 2.396 GB, free: 234.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.355e-06/6.336, allocations: 0 / 2.396 GB, free: 234.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/6.443, allocations: 49.03 MB / 2.444 GB, free: 194.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003289/6.444, allocations: 255.8 kB / 2.444 GB, free: 193.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.58/11.02, allocations: 0 / 2.444 GB, free: 193.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation_res.mat does not exist to compare? outputFormat=mat