Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.001117/0.001117, allocations: 99.47 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.001322/0.001322, allocations: 177.3 kB / 15.95 MB, free: 216 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.426/1.426, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.409/2.409, allocations: 390.3 MB / 0.6653 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003643, allocations: 12 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8346/0.8349, allocations: 142.3 MB / 0.9536 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1988/1.034, allocations: 143.1 MB / 1.093 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00734/1.041, allocations: 4.12 MB / 1.097 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008609/1.042, allocations: 15.88 kB / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/1.043, allocations: 310.6 kB / 1.098 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003365/1.046, allocations: 1.005 MB / 1.099 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002597/1.049, allocations: 0.7769 MB / 1.099 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00165/1.051, allocations: 0.7694 MB / 1.1 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005861/1.051, allocations: 360.5 kB / 1.1 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/1.052, allocations: 0.51 MB / 1.101 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/1.053, allocations: 298.9 kB / 1.101 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.837e-05/1.053, allocations: 20 kB / 1.101 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/1.055, allocations: 0.6357 MB / 1.102 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/1.055, allocations: 155.6 kB / 1.102 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/1.055, allocations: 145.4 kB / 1.102 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/1.056, allocations: 0.7988 MB / 1.103 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/1.056, allocations: 4 kB / 1.103 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.012e-06/1.056, allocations: 0 / 1.103 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.713e-06/1.056, allocations: 0 / 1.103 GB, free: 6.871 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001477/1.058, allocations: 0.8454 MB / 1.104 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/1.058, allocations: 12.03 kB / 1.104 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/1.058, allocations: 90.52 kB / 1.104 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/1.059, allocations: 279 kB / 1.104 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009338/1.06, allocations: 477.8 kB / 1.105 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/1.061, allocations: 92.94 kB / 1.105 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/1.061, allocations: 36 kB / 1.105 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/1.062, allocations: 0.6419 MB / 1.105 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.062, allocations: 0 / 1.105 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/1.062, allocations: 20 kB / 1.105 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/1.062, allocations: 24.98 kB / 1.105 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/1.064, allocations: 0.5777 MB / 1.106 GB, free: 3.668 MB / 0.8575 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.004681/1.068, allocations: 2.299 MB / 1.108 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/1.07, allocations: 318.3 kB / 1.108 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/1.07, allocations: 4 kB / 1.108 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/1.07, allocations: 42.5 kB / 1.109 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/1.07, allocations: 0 / 1.109 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.005387/1.075, allocations: 1.189 MB / 1.11 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/1.075, allocations: 77.11 kB / 1.11 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006522/1.076, allocations: 0.5495 MB / 1.11 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/1.076, allocations: 29.7 kB / 1.11 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/1.076, allocations: 303.5 kB / 1.111 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/1.076, allocations: 43.39 kB / 1.111 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/1.076, allocations: 4 kB / 1.111 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002418/1.076, allocations: 358.8 kB / 1.111 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/1.077, allocations: 207.8 kB / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/1.078, allocations: 285.3 kB / 1.111 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/1.078, allocations: 225.6 kB / 1.112 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.078, allocations: 0 / 1.112 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002696/1.081, allocations: 0.7834 MB / 1.112 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.081, allocations: 9.406 kB / 1.112 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.081, allocations: 0 / 1.112 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006539/1.082, allocations: 188.8 kB / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/1.082, allocations: 83.88 kB / 1.113 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004562/1.087, allocations: 2.235 MB / 1.115 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007265/1.088, allocations: 99.33 kB / 1.115 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/1.088, allocations: 8 kB / 1.115 GB, free: 9.965 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000313/1.088, allocations: 201.6 kB / 1.115 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/1.088, allocations: 47.44 kB / 1.115 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.474e-05/1.088, allocations: 52.03 kB / 1.115 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/1.088, allocations: 0 / 1.115 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/1.088, allocations: 0 / 1.115 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.088, allocations: 0 / 1.115 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/1.091, allocations: 1.191 MB / 1.116 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.091, allocations: 0 / 1.116 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/1.092, allocations: 51.95 kB / 1.117 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/1.092, allocations: 192.7 kB / 1.117 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/1.092, allocations: 0 / 1.117 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/1.096, allocations: 2.112 MB / 1.119 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.096, allocations: 0 / 1.119 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/1.098, allocations: 0.7819 MB / 1.12 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/1.099, allocations: 164.5 kB / 1.12 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-05/1.099, allocations: 7.984 kB / 1.12 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/1.099, allocations: 69.48 kB / 1.12 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/1.1, allocations: 15.92 kB / 1.12 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/1.1, allocations: 16.08 kB / 1.12 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004954/1.1, allocations: 394.8 kB / 1.12 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.1, allocations: 0 / 1.12 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007105/1.101, allocations: 179.8 kB / 1.12 GB, free: 4.246 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00337/1.104, allocations: 1.533 MB / 1.122 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00227/1.106, allocations: 0.644 MB / 1.122 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.107, allocations: 4.375 kB / 1.122 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007678/1.107, allocations: 322.6 kB / 1.123 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/1.109, allocations: 298.8 kB / 1.123 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.119, allocations: 4.895 MB / 1.128 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/1.12, allocations: 0.8777 MB / 1.129 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006408/1.12, allocations: 96.53 kB / 1.129 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/1.121, allocations: 163.4 kB / 1.129 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of SimCode: time 1.873e-06/1.121, allocations: 0 / 1.129 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/1.158, allocations: 15.97 MB / 1.145 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/1.158, allocations: 272 kB / 1.145 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/3.167, allocations: 0 / 1.145 GB, free: 11.31 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat