Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.0009588/0.0009588, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.00113/0.001131, allocations: 168.7 kB / 15.95 MB, free: 204 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.494/1.494, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.463/2.463, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 19.94 kB / 0.8378 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7989/0.7993, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04928/0.8486, allocations: 45.77 MB / 1.026 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01903/0.8677, allocations: 11.93 MB / 1.037 GB, free: 12.43 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003039/0.8708, allocations: 67.5 kB / 1.038 GB, free: 12.36 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.8725, allocations: 0.5471 MB / 1.038 GB, free: 11.81 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005136/0.8777, allocations: 1.453 MB / 1.04 GB, free: 10.35 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003481/0.8812, allocations: 1.046 MB / 1.041 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005433/0.8866, allocations: 3.741 MB / 1.044 GB, free: 5.574 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.8884, allocations: 0.9195 MB / 1.045 GB, free: 4.625 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.8908, allocations: 1.034 MB / 1.046 GB, free: 3.586 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.892, allocations: 0.8241 MB / 1.047 GB, free: 2.758 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.8921, allocations: 40 kB / 1.047 GB, free: 2.719 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.8943, allocations: 0.7327 MB / 1.048 GB, free: 1.984 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.8945, allocations: 218.9 kB / 1.048 GB, free: 1.77 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.8949, allocations: 269 kB / 1.048 GB, free: 1.5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.8966, allocations: 1.391 MB / 1.049 GB, free: 108 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8966, allocations: 0 / 1.049 GB, free: 108 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8967, allocations: 0 / 1.049 GB, free: 108 kB / 0.795 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.8967, allocations: 0 / 1.049 GB, free: 108 kB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002209/0.8989, allocations: 1.491 MB / 1.051 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.8989, allocations: 8.031 kB / 1.051 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.8991, allocations: 135.2 kB / 1.051 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005316/0.8996, allocations: 218.1 kB / 1.051 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.9015, allocations: 1.045 MB / 1.052 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003261/0.9019, allocations: 137.9 kB / 1.052 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.902, allocations: 84 kB / 1.053 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.9037, allocations: 1 MB / 1.053 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.9037, allocations: 0 / 1.053 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.9038, allocations: 40 kB / 1.054 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.9038, allocations: 20 kB / 1.054 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.9052, allocations: 0.6868 MB / 1.054 GB, free: 11.07 MB / 0.8106 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.004783/0.91, allocations: 4.438 MB / 1.059 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.9111, allocations: 442.6 kB / 1.059 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.9117, allocations: 244.7 kB / 1.059 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008717/0.9126, allocations: 1.14 MB / 1.06 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.9126, allocations: 42.55 kB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=29): time 2.385e-06/0.9126, allocations: 4 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29): time 0.002823/0.9154, allocations: 1.142 MB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.9155, allocations: 59.41 kB / 1.062 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.9167, allocations: 0.9277 MB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.9167, allocations: 33.7 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/0.9173, allocations: 0.5812 MB / 1.063 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.9174, allocations: 102.6 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.9174, allocations: 4 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9175, allocations: 329.9 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/0.9181, allocations: 213 kB / 1.064 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.9187, allocations: 394.9 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.9193, allocations: 261.2 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9193, allocations: 0 / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0016/0.9209, allocations: 0.7687 MB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.9209, allocations: 11.95 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.921, allocations: 4 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006617/0.9216, allocations: 163.1 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.9222, allocations: 151.8 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.9233, allocations: 1.723 MB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007712/0.9241, allocations: 119.5 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.401e-05/0.9242, allocations: 27.98 kB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004821/0.9247, allocations: 265.6 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.9249, allocations: 106.7 kB / 1.068 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.9266, allocations: 0.7624 MB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.9267, allocations: 7.938 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9267, allocations: 0 / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.9267, allocations: 7.938 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002978/0.9297, allocations: 1.671 MB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.9297, allocations: 4 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.9302, allocations: 116 kB / 1.07 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005438/0.9308, allocations: 146.5 kB / 1.07 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.9308, allocations: 11.98 kB / 1.07 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.9321, allocations: 1.708 MB / 1.072 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.9321, allocations: 3.953 kB / 1.072 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.9336, allocations: 0.8194 MB / 1.073 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.9341, allocations: 247.5 kB / 1.073 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.9342, allocations: 11.98 kB / 1.073 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/0.9348, allocations: 91.8 kB / 1.073 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.9349, allocations: 27.95 kB / 1.073 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.9349, allocations: 19.98 kB / 1.073 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008896/0.9358, allocations: 0.6225 MB / 1.074 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9358, allocations: 0 / 1.074 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001249/0.9371, allocations: 363.1 kB / 1.074 GB, free: 5.715 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 2,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002438/0.9395, allocations: 1.623 MB / 1.076 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.9411, allocations: 0.5673 MB / 1.076 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.9411, allocations: 0 / 1.076 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008374/0.9419, allocations: 324 kB / 1.076 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/0.9445, allocations: 0.5061 MB / 1.077 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.9563, allocations: 5.974 MB / 1.083 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.9574, allocations: 1.107 MB / 1.084 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0009819/0.9584, allocations: 183.9 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005894/0.959, allocations: 419.2 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of SimCode: time 9.91e-07/0.959, allocations: 0 / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05593/1.015, allocations: 28.31 MB / 1.112 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003221/1.015, allocations: 269.5 kB / 1.112 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/3.52, allocations: 0 / 1.112 GB, free: 14.45 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat does not exist to compare? outputFormat=mat