Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.004666/0.004671, allocations: 100.7 kB / 15.73 MB, free: 5.961 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.001399/0.001399, allocations: 195.5 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002364/0.002364, allocations: 280.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9705/0.9705, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 99.84 kB / 0.6809 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4513, allocations: 86.98 MB / 0.7659 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1917/0.643, allocations: 171.1 MB / 0.9329 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006981/0.6501, allocations: 4.305 MB / 0.9371 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007163/0.6508, allocations: 23.88 kB / 0.9372 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.6519, allocations: 349.9 kB / 0.9375 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.6553, allocations: 1.225 MB / 0.9387 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.6574, allocations: 0.7926 MB / 0.9395 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00223/0.6597, allocations: 1.687 MB / 0.9411 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008141/0.6605, allocations: 0.5581 MB / 0.9417 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.6618, allocations: 0.6805 MB / 0.9423 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.663, allocations: 0.5604 MB / 0.9429 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.977e-05/0.6631, allocations: 68 kB / 0.9429 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.6646, allocations: 0.799 MB / 0.9437 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.6649, allocations: 271.3 kB / 0.944 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.6653, allocations: 406.3 kB / 0.9444 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.6671, allocations: 1.267 MB / 0.9456 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.6671, allocations: 0 / 0.9456 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6671, allocations: 0 / 0.9456 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.6671, allocations: 0 / 0.9456 GB, free: 11.11 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001789/0.6689, allocations: 1.055 MB / 0.9466 GB, free: 10 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.6689, allocations: 12.03 kB / 0.9466 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.6691, allocations: 98.52 kB / 0.9467 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009913/0.6701, allocations: 167.4 kB / 0.9469 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008281/0.6709, allocations: 0.5487 MB / 0.9474 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.671, allocations: 41.31 kB / 0.9475 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/0.671, allocations: 52 kB / 0.9475 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.6721, allocations: 0.6479 MB / 0.9482 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.6722, allocations: 3.938 kB / 0.9482 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.6722, allocations: 28 kB / 0.9482 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.6723, allocations: 25.25 kB / 0.9482 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/0.6732, allocations: 0.5087 MB / 0.9487 GB, free: 7.816 MB / 0.7169 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.003374/0.6766, allocations: 2.313 MB / 0.951 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.6772, allocations: 250.8 kB / 0.9512 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.6774, allocations: 138.8 kB / 0.9513 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.6775, allocations: 8 kB / 0.9513 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.6775, allocations: 38.56 kB / 0.9514 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 2.014e-06/0.6775, allocations: 0 / 0.9514 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001661/0.6792, allocations: 0.675 MB / 0.952 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.6792, allocations: 81.11 kB / 0.9521 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006963/0.6799, allocations: 0.5574 MB / 0.9527 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.68, allocations: 33.7 kB / 0.9527 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.6803, allocations: 331.8 kB / 0.953 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.322e-05/0.6804, allocations: 83.36 kB / 0.9531 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.6805, allocations: 65.98 kB / 0.9532 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.6807, allocations: 362.7 kB / 0.9535 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.6809, allocations: 132.6 kB / 0.9536 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.6813, allocations: 214.6 kB / 0.9538 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.6818, allocations: 329.4 kB / 0.9541 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6818, allocations: 4 kB / 0.9541 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009/0.6827, allocations: 0.495 MB / 0.9546 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6827, allocations: 8 kB / 0.9546 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.6828, allocations: 4 kB / 0.9546 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/0.6831, allocations: 89.64 kB / 0.9547 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.6834, allocations: 71.91 kB / 0.9548 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3731/1.057, allocations: 3.335 MB / 0.9581 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/1.057, allocations: 56.22 kB / 0.9581 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/1.057, allocations: 12.91 kB / 0.9581 GB, free: 188.3 MB / 0.7169 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000298/1.058, allocations: 223.6 kB / 0.9583 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.058, allocations: 62.62 kB / 0.9584 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.315e-05/1.058, allocations: 55.19 kB / 0.9584 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.058, allocations: 2.562 kB / 0.9584 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.058, allocations: 1.188 kB / 0.9584 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006795/1.058, allocations: 0.5308 MB / 0.959 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/1.06, allocations: 0.9223 MB / 0.9599 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.06, allocations: 1.172 kB / 0.9599 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/1.06, allocations: 46.89 kB / 0.9599 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000236/1.06, allocations: 67.8 kB / 0.96 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/1.06, allocations: 2.125 kB / 0.96 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/1.062, allocations: 1.828 MB / 0.9618 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.062, allocations: 5.062 kB / 0.9618 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/1.062, allocations: 437.1 kB / 0.9622 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/1.063, allocations: 166.8 kB / 0.9623 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/1.063, allocations: 11.27 kB / 0.9624 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004478/1.063, allocations: 21.94 kB / 0.9624 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/1.063, allocations: 27.02 kB / 0.9624 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/1.063, allocations: 11.58 kB / 0.9624 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004157/1.064, allocations: 401 kB / 0.9628 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.064, allocations: 0 / 0.9628 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007141/1.064, allocations: 203 kB / 0.963 GB, free: 185.1 MB / 0.7169 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009414/1.065, allocations: 1.034 MB / 0.964 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007926/1.066, allocations: 0.528 MB / 0.9645 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.066, allocations: 0 / 0.9645 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/1.066, allocations: 253.6 kB / 0.9648 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/1.068, allocations: 372.5 kB / 0.9651 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005726/1.074, allocations: 4.47 MB / 0.9695 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/1.074, allocations: 0.9096 MB / 0.9704 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004542/1.075, allocations: 119.4 kB / 0.9705 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/1.075, allocations: 194.2 kB / 0.9707 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/1.075, allocations: 0 / 0.9707 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04533/1.12, allocations: 17.82 MB / 0.9881 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.92, allocations: 10.38 kB / 0.9881 GB, free: 165.2 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)