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.001017/0.001017, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001026/0.001026, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.251/1.251, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 294.5 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9552/0.9552, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 100.4 kB / 0.5948 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1307, allocations: 86.98 MB / 0.6797 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4063/0.5369, allocations: 168.8 MB / 0.8445 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005284/0.5423, allocations: 4.27 MB / 0.8487 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004161/0.5427, allocations: 20.53 kB / 0.8487 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008223/0.5436, allocations: 309.3 kB / 0.849 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.5459, allocations: 1.158 MB / 0.8501 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.5474, allocations: 0.7238 MB / 0.8508 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.5489, allocations: 1.691 MB / 0.8525 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005755/0.5495, allocations: 0.5467 MB / 0.853 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008159/0.5504, allocations: 0.6805 MB / 0.8537 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009232/0.5513, allocations: 0.6036 MB / 0.8543 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.924e-05/0.5514, allocations: 65.03 kB / 0.8543 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.5525, allocations: 0.8398 MB / 0.8552 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.5528, allocations: 266.6 kB / 0.8554 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.5531, allocations: 409.6 kB / 0.8558 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.5543, allocations: 1.317 MB / 0.8571 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5543, allocations: 0 / 0.8571 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5544, allocations: 2.219 kB / 0.8571 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.5544, allocations: 0 / 0.8571 GB, free: 9.047 MB / 0.5762 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.001546/0.5559, allocations: 1.036 MB / 0.8581 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.556, allocations: 13.78 kB / 0.8581 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.5561, allocations: 100.8 kB / 0.8582 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009893/0.5571, allocations: 155.4 kB / 0.8584 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/0.5577, allocations: 0.529 MB / 0.8589 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.5578, allocations: 38 kB / 0.8589 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.5579, allocations: 55.94 kB / 0.859 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.5589, allocations: 0.648 MB / 0.8596 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.5589, allocations: 0 / 0.8596 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.559, allocations: 27.27 kB / 0.8596 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.559, allocations: 21.03 kB / 0.8597 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008312/0.5598, allocations: 0.5143 MB / 0.8602 GB, free: 6.93 MB / 0.5762 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.002885/0.5627, allocations: 2.301 MB / 0.8624 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.5632, allocations: 263 kB / 0.8627 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.5634, allocations: 130.2 kB / 0.8628 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.5635, allocations: 6.25 kB / 0.8628 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.5635, allocations: 39.34 kB / 0.8628 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.253e-06/0.5635, allocations: 0 / 0.8628 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.00152/0.565, allocations: 0.6668 MB / 0.8635 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.5651, allocations: 79.58 kB / 0.8636 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.5657, allocations: 0.559 MB / 0.8641 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.5657, allocations: 31.98 kB / 0.8641 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.5659, allocations: 340.8 kB / 0.8645 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.566, allocations: 64.73 kB / 0.8645 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.5661, allocations: 69.44 kB / 0.8646 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5662, allocations: 367.8 kB / 0.8649 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.5665, allocations: 131.5 kB / 0.8651 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.5668, allocations: 235.7 kB / 0.8653 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.5672, allocations: 324.1 kB / 0.8656 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5673, allocations: 5.812 kB / 0.8656 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008198/0.5681, allocations: 499 kB / 0.8661 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.5681, allocations: 5.031 kB / 0.8661 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5681, allocations: 6.125 kB / 0.8661 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002875/0.5684, allocations: 101.8 kB / 0.8662 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.5687, allocations: 70.86 kB / 0.8662 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.5715, allocations: 3.362 MB / 0.8695 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.572, allocations: 62.08 kB / 0.8696 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.572, allocations: 9.594 kB / 0.8696 GB, free: 15.02 MB / 0.5919 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.000231/0.5722, allocations: 220.8 kB / 0.8698 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.319e-05/0.5723, allocations: 54.69 kB / 0.8699 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.5724, allocations: 58.44 kB / 0.8699 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5724, allocations: 2.031 kB / 0.8699 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.5724, allocations: 3.938 kB / 0.8699 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006783/0.5731, allocations: 0.5327 MB / 0.8704 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.5743, allocations: 0.9138 MB / 0.8713 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.5743, allocations: 0 / 0.8713 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.5745, allocations: 44.56 kB / 0.8714 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/0.5747, allocations: 69.53 kB / 0.8714 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.5747, allocations: 6.547 kB / 0.8715 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.5763, allocations: 1.819 MB / 0.8732 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5763, allocations: 0 / 0.8732 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.5769, allocations: 436.4 kB / 0.8736 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.5771, allocations: 171 kB / 0.8738 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.5772, allocations: 10.75 kB / 0.8738 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.5777, allocations: 34.38 kB / 0.8739 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.5778, allocations: 21.94 kB / 0.8739 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.5778, allocations: 11.84 kB / 0.8739 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003926/0.5782, allocations: 404 kB / 0.8743 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5782, allocations: 3.938 kB / 0.8743 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005585/0.5788, allocations: 207.7 kB / 0.8745 GB, free: 11.08 MB / 0.5919 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.001062/0.5799, allocations: 1.033 MB / 0.8755 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008286/0.5807, allocations: 0.5435 MB / 0.876 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.5807, allocations: 7.688 kB / 0.876 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.5811, allocations: 257.2 kB / 0.8763 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/0.5826, allocations: 368.3 kB / 0.8766 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005603/0.5882, allocations: 4.724 MB / 0.8812 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.5886, allocations: 0.9032 MB / 0.8821 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004103/0.589, allocations: 129.2 kB / 0.8822 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.5893, allocations: 191.8 kB / 0.8824 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.5893, allocations: 0 / 0.8824 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2036/0.7929, allocations: 17.44 MB / 0.8994 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003319/0.7932, allocations: 301.6 kB / 0.8997 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/3.016, allocations: 0 / 0.8997 GB, free: 5.68 MB / 0.6075 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)