Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_9_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.001265/0.001265, allocations: 99.7 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.001455/0.001455, 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.576/1.576, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.392/2.392, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003924, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7487, allocations: 142.3 MB / 0.9536 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04722/0.796, allocations: 41.59 MB / 0.9942 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01775/0.8138, allocations: 10.91 MB / 1.005 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/0.8172, allocations: 67.5 kB / 1.005 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.8207, allocations: 0.8512 MB / 1.006 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008489/0.8292, allocations: 2.358 MB / 1.008 GB, free: 8.262 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005819/0.835, allocations: 2.025 MB / 1.01 GB, free: 6.277 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004272/0.8393, allocations: 2.059 MB / 1.012 GB, free: 4.215 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.8409, allocations: 0.9275 MB / 1.013 GB, free: 3.258 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.8434, allocations: 0.9145 MB / 1.014 GB, free: 2.34 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.8446, allocations: 0.5946 MB / 1.014 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.8448, allocations: 43.94 kB / 1.014 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.847, allocations: 0.7879 MB / 1.015 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.8472, allocations: 203.1 kB / 1.015 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.8476, allocations: 277 kB / 1.016 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.8495, allocations: 1.372 MB / 1.017 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.8495, allocations: 0 / 1.017 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8495, allocations: 3.938 kB / 1.017 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.357e-05/0.8495, allocations: 4 kB / 1.017 GB, free: 15.05 MB / 0.7794 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.002435/0.852, allocations: 1.491 MB / 1.018 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.852, allocations: 8.031 kB / 1.018 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.8522, allocations: 135.2 kB / 1.019 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006161/0.8528, allocations: 222.1 kB / 1.019 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.8545, allocations: 0.9438 MB / 1.02 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/0.8549, allocations: 125.9 kB / 1.02 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.855, allocations: 87.94 kB / 1.02 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.8568, allocations: 0.9962 MB / 1.021 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.8568, allocations: 3.984 kB / 1.021 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.8569, allocations: 36 kB / 1.021 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.8569, allocations: 24 kB / 1.021 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.8585, allocations: 0.6868 MB / 1.022 GB, free: 10.12 MB / 0.7794 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.006078/0.8646, allocations: 4.477 MB / 1.026 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.8659, allocations: 450.4 kB / 1.026 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009342/0.8669, allocations: 1.148 MB / 1.028 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.8669, allocations: 30.56 kB / 1.028 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=29): time 2.334e-06/0.8669, allocations: 0 / 1.028 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29): time 0.003159/0.8701, allocations: 1.14 MB / 1.029 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.8702, allocations: 55.41 kB / 1.029 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.8714, allocations: 0.9824 MB / 1.03 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.8714, allocations: 37.7 kB / 1.03 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/0.8719, allocations: 0.5734 MB / 1.03 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.872, allocations: 106.5 kB / 1.03 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.872, allocations: 8 kB / 1.03 GB, free: 496 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8721, allocations: 326 kB / 1.031 GB, free: 164 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005839/0.8727, allocations: 209 kB / 1.031 GB, free: 15.96 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/0.8734, allocations: 402.9 kB / 1.031 GB, free: 15.49 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/0.8741, allocations: 264.7 kB / 1.032 GB, free: 15.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.8741, allocations: 0 / 1.032 GB, free: 15.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001738/0.8758, allocations: 0.7641 MB / 1.032 GB, free: 14.45 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.8759, allocations: 8 kB / 1.032 GB, free: 14.44 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.8759, allocations: 4 kB / 1.032 GB, free: 14.44 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007139/0.8766, allocations: 158.9 kB / 1.033 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.8773, allocations: 155.8 kB / 1.033 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.8784, allocations: 1.731 MB / 1.034 GB, free: 12.31 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008214/0.8792, allocations: 119.4 kB / 1.034 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.537e-05/0.8793, allocations: 28.05 kB / 1.034 GB, free: 12.17 MB / 0.795 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.0004448/0.8797, allocations: 269.6 kB / 1.035 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.8799, allocations: 110.7 kB / 1.035 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.8818, allocations: 0.7662 MB / 1.036 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.8819, allocations: 4 kB / 1.036 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.8819, allocations: 0 / 1.036 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.8819, allocations: 3.984 kB / 1.036 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.8851, allocations: 1.691 MB / 1.037 GB, free: 9.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.8851, allocations: 4 kB / 1.037 GB, free: 9.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.8857, allocations: 108 kB / 1.037 GB, free: 9.113 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005842/0.8862, allocations: 154.4 kB / 1.038 GB, free: 8.953 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.8863, allocations: 11.98 kB / 1.038 GB, free: 8.941 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.8874, allocations: 1.712 MB / 1.039 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8874, allocations: 0 / 1.039 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.8893, allocations: 0.8989 MB / 1.04 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.8898, allocations: 259.5 kB / 1.04 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.8899, allocations: 11.95 kB / 1.04 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006856/0.8906, allocations: 88.11 kB / 1.04 GB, free: 5.809 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.8907, allocations: 31.89 kB / 1.04 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.8908, allocations: 23.98 kB / 1.04 GB, free: 5.754 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008533/0.8917, allocations: 0.6655 MB / 1.041 GB, free: 5.082 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8917, allocations: 0 / 1.041 GB, free: 5.082 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001049/0.8927, allocations: 379.2 kB / 1.041 GB, free: 4.711 MB / 0.795 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.002775/0.8955, allocations: 2.149 MB / 1.044 GB, free: 2.496 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.8972, allocations: 0.5803 MB / 1.044 GB, free: 1.918 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8972, allocations: 0 / 1.044 GB, free: 1.918 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008633/0.8981, allocations: 316 kB / 1.044 GB, free: 1.609 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.9005, allocations: 0.5011 MB / 1.045 GB, free: 1.117 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.9119, allocations: 9.673 MB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.9127, allocations: 1.134 MB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008483/0.9136, allocations: 183.5 kB / 1.056 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004707/0.9141, allocations: 419.3 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of SimCode: time 2.605e-06/0.9141, allocations: 0 / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05512/0.9692, allocations: 29.42 MB / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.9695, allocations: 260.7 kB / 1.085 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/3.431, allocations: 0 / 1.085 GB, free: 8.02 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat does not exist to compare? outputFormat=mat