Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.8055, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.3115/1.117, allocations: 276.7 MB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7473/1.864, allocations: 32.44 MB / 1.256 GB, free: 23.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006207/1.871, allocations: 112.5 kB / 1.256 GB, free: 23.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007716/1.878, allocations: 1.878 MB / 1.257 GB, free: 23.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01794/1.896, allocations: 5.637 MB / 1.263 GB, free: 23.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009248/1.906, allocations: 2.69 MB / 1.266 GB, free: 23.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01344/1.919, allocations: 5.028 MB / 1.271 GB, free: 23.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007095/1.926, allocations: 2.94 MB / 1.273 GB, free: 22.9 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01112/1.937, allocations: 3.268 MB / 1.277 GB, free: 22.89 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005096/1.943, allocations: 1.683 MB / 1.278 GB, free: 22.88 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00101/1.944, allocations: 123.3 kB / 1.278 GB, free: 22.88 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009511/1.953, allocations: 2.485 MB / 1.281 GB, free: 22.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001756/1.955, allocations: 0.8942 MB / 1.282 GB, free: 22.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00196/1.957, allocations: 0.7503 MB / 1.282 GB, free: 22.85 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007157/1.964, allocations: 4.787 MB / 1.287 GB, free: 22.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/1.964, allocations: 0 / 1.287 GB, free: 22.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/1.964, allocations: 0 / 1.287 GB, free: 22.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001312/1.964, allocations: 4 kB / 1.287 GB, free: 22.5 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.006938/1.971, allocations: 3.63 MB / 1.291 GB, free: 20.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/1.971, allocations: 19 kB / 1.291 GB, free: 20.66 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005467/1.972, allocations: 361.5 kB / 1.291 GB, free: 20.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008236/1.98, allocations: 1.561 MB / 1.292 GB, free: 20.35 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006165/1.986, allocations: 2.64 MB / 1.295 GB, free: 19.78 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001369/1.988, allocations: 0.5334 MB / 1.296 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008348/1.988, allocations: 253.7 kB / 1.296 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008094/1.997, allocations: 3.484 MB / 1.299 GB, free: 19.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/1.997, allocations: 2.906 kB / 1.299 GB, free: 19.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/1.997, allocations: 104.5 kB / 1.299 GB, free: 19.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/1.997, allocations: 103.6 kB / 1.299 GB, free: 19.33 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007824/2.005, allocations: 3.261 MB / 1.303 GB, free: 19.24 MB / 0.9981 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.02406/2.029, allocations: 14.55 MB / 1.317 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004527/2.033, allocations: 1.941 MB / 1.319 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/2.034, allocations: 37.11 kB / 1.319 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002177/2.036, allocations: 1.005 MB / 1.32 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001536/2.037, allocations: 134.6 kB / 1.32 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=108): time 6.172e-06/2.037, allocations: 0 / 1.32 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108): time 0.007712/2.045, allocations: 2.637 MB / 1.322 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/2.045, allocations: 190.8 kB / 1.323 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006121/2.051, allocations: 2.837 MB / 1.325 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004832/2.052, allocations: 55.88 kB / 1.325 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001965/2.054, allocations: 1.501 MB / 1.327 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008812/2.055, allocations: 383.2 kB / 1.327 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/2.055, allocations: 27.31 kB / 1.327 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001962/2.055, allocations: 362.2 kB / 1.328 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/2.058, allocations: 0.9144 MB / 1.329 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003225/2.062, allocations: 1.398 MB / 1.33 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003059/2.065, allocations: 1.033 MB / 1.331 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.458e-05/2.065, allocations: 7.078 kB / 1.331 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007638/2.072, allocations: 2.586 MB / 1.333 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001681/2.074, allocations: 5.024 MB / 1.338 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-05/2.074, allocations: 16.92 kB / 1.338 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.289e-05/2.074, allocations: 17.78 kB / 1.338 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/2.077, allocations: 474.5 kB / 1.339 GB, free: 17.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-05/2.077, allocations: 29.8 kB / 1.339 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/2.081, allocations: 0.5315 MB / 1.339 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003401/2.082, allocations: 77.78 kB / 1.339 GB, free: 17.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/2.082, allocations: 2.688 kB / 1.339 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006296/2.088, allocations: 2.317 MB / 1.342 GB, free: 17.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-05/2.088, allocations: 11.16 kB / 1.342 GB, free: 17.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/2.088, allocations: 22.28 kB / 1.342 GB, free: 17.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/2.09, allocations: 468.5 kB / 1.342 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.983e-05/2.09, allocations: 31.17 kB / 1.342 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004317/2.095, allocations: 480 kB / 1.343 GB, free: 16.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/2.095, allocations: 77.14 kB / 1.343 GB, free: 16.8 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 174 * Array equations: 2 * 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.002158/2.097, allocations: 0.8564 MB / 1.344 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008157/2.098, allocations: 286.3 kB / 1.344 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005054/2.103, allocations: 1.949 MB / 1.346 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/2.103, allocations: 15.58 kB / 1.346 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.832e-05/2.103, allocations: 2.688 kB / 1.346 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003115/2.106, allocations: 1.372 MB / 1.347 GB, free: 15.47 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/2.12, allocations: 5.457 MB / 1.352 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/2.12, allocations: 7.875 kB / 1.352 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/2.122, allocations: 295.1 kB / 1.353 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002892/2.122, allocations: 61.83 kB / 1.353 GB, free: 13.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/2.122, allocations: 35.33 kB / 1.353 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/2.124, allocations: 1.453 MB / 1.354 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/2.124, allocations: 11.66 kB / 1.354 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007627/2.131, allocations: 3.792 MB / 1.358 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/2.133, allocations: 0.5549 MB / 1.359 GB, free: 9.746 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/2.134, allocations: 32.98 kB / 1.359 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003577/2.138, allocations: 334.9 kB / 1.359 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/2.138, allocations: 96.75 kB / 1.359 GB, free: 9.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/2.139, allocations: 54.84 kB / 1.359 GB, free: 9.578 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004496/2.143, allocations: 1.974 MB / 1.361 GB, free: 9.094 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/2.143, allocations: 1.859 kB / 1.361 GB, free: 9.094 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005927/2.149, allocations: 1.542 MB / 1.362 GB, free: 8.855 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009719/2.159, allocations: 6.557 MB / 1.369 GB, free: 4.469 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008763/2.168, allocations: 3.21 MB / 1.372 GB, free: 3.793 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/2.168, allocations: 3.219 kB / 1.372 GB, free: 3.793 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002496/2.17, allocations: 0.9782 MB / 1.373 GB, free: 3.535 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008495/2.179, allocations: 1.494 MB / 1.374 GB, free: 3.008 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02534/2.204, allocations: 17.17 MB / 1.391 GB, free: 2.117 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/2.206, allocations: 2.191 MB / 1.393 GB, free: 36 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.005787/2.212, allocations: 0.7613 MB / 1.394 GB, free: 15.27 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/2.215, allocations: 1.286 MB / 1.395 GB, free: 14.98 MB / 1.045 GB Notification: Performance of SimCode: time 1.643e-06/2.215, allocations: 4 kB / 1.395 GB, free: 14.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/2.344, allocations: 77.5 MB / 1.471 GB, free: 2.52 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/2.344, allocations: 255.4 kB / 1.471 GB, free: 2.184 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.119/6.463, allocations: 0 / 1.471 GB, free: 2.184 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat does not exist to compare? outputFormat=mat