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.005391/0.005391, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.00121/0.00121, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002181/0.002181, allocations: 274.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9568/0.9568, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 100.5 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1696, allocations: 86.98 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5562/0.7258, allocations: 171 MB / 0.9329 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006305/0.7322, allocations: 4.297 MB / 0.9371 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006612/0.7329, allocations: 23.88 kB / 0.9371 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.734, allocations: 353.9 kB / 0.9375 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.7366, allocations: 1.217 MB / 0.9387 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.7384, allocations: 0.8065 MB / 0.9395 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.7402, allocations: 1.693 MB / 0.9411 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006773/0.7409, allocations: 0.5581 MB / 0.9417 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000969/0.7419, allocations: 0.681 MB / 0.9423 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.743, allocations: 0.556 MB / 0.9429 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 9.534e-05/0.7431, allocations: 68 kB / 0.9429 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.7445, allocations: 0.7951 MB / 0.9437 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.7447, allocations: 275.2 kB / 0.944 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.7451, allocations: 410.3 kB / 0.9444 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.7465, allocations: 1.266 MB / 0.9456 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7465, allocations: 0 / 0.9456 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7466, allocations: 0 / 0.9456 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.7466, allocations: 0 / 0.9456 GB, free: 11.04 MB / 0.7012 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.001694/0.7483, allocations: 1.037 MB / 0.9466 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.7483, allocations: 11.97 kB / 0.9466 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.7484, allocations: 94.52 kB / 0.9467 GB, free: 9.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/0.7494, allocations: 168.2 kB / 0.9469 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.7503, allocations: 0.5444 MB / 0.9474 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.7503, allocations: 41.31 kB / 0.9474 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.959e-05/0.7504, allocations: 52 kB / 0.9475 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009976/0.7514, allocations: 0.6479 MB / 0.9481 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.7514, allocations: 3.938 kB / 0.9481 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.7515, allocations: 27.98 kB / 0.9482 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.7515, allocations: 25.31 kB / 0.9482 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008558/0.7524, allocations: 0.5087 MB / 0.9487 GB, free: 7.781 MB / 0.7012 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.003099/0.7555, allocations: 2.285 MB / 0.9509 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.756, allocations: 262.8 kB / 0.9512 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.7562, allocations: 130.3 kB / 0.9513 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.7563, allocations: 7.938 kB / 0.9513 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.7563, allocations: 39.94 kB / 0.9513 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=20): time 2.875e-06/0.7563, allocations: 4 kB / 0.9513 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20): time 0.001583/0.7579, allocations: 0.675 MB / 0.952 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.758, allocations: 81.11 kB / 0.9521 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/0.7586, allocations: 0.5613 MB / 0.9526 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.7586, allocations: 29.7 kB / 0.9526 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.7588, allocations: 331.1 kB / 0.953 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.7589, allocations: 78.92 kB / 0.953 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.759, allocations: 65.94 kB / 0.9531 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7591, allocations: 366.7 kB / 0.9534 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.7594, allocations: 132.5 kB / 0.9536 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.7597, allocations: 215.2 kB / 0.9538 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005075/0.7602, allocations: 341.4 kB / 0.9541 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7602, allocations: 0 / 0.9541 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008438/0.7611, allocations: 498.6 kB / 0.9546 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.7611, allocations: 8 kB / 0.9546 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.7611, allocations: 4 kB / 0.9546 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/0.7614, allocations: 93.64 kB / 0.9547 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.7618, allocations: 67.91 kB / 0.9547 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002876/0.7646, allocations: 3.346 MB / 0.958 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.7651, allocations: 47.44 kB / 0.9581 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.7651, allocations: 12 kB / 0.9581 GB, free: 13.52 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.0002456/0.7654, allocations: 217.7 kB / 0.9583 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.7655, allocations: 59.33 kB / 0.9583 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.515e-05/0.7656, allocations: 52.52 kB / 0.9584 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.7656, allocations: 3.984 kB / 0.9584 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.7656, allocations: 11.88 kB / 0.9584 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000689/0.7663, allocations: 0.5285 MB / 0.9589 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.7676, allocations: 0.9202 MB / 0.9598 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7676, allocations: 0 / 0.9598 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.7678, allocations: 39.92 kB / 0.9599 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001852/0.768, allocations: 68.8 kB / 0.9599 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.768, allocations: 4 kB / 0.9599 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.7696, allocations: 1.829 MB / 0.9617 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7697, allocations: 4.062 kB / 0.9617 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.7703, allocations: 437.2 kB / 0.9621 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.7705, allocations: 160.5 kB / 0.9623 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.7706, allocations: 7.938 kB / 0.9623 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.771, allocations: 26 kB / 0.9623 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.7711, allocations: 15.98 kB / 0.9623 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.7712, allocations: 15.98 kB / 0.9623 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004383/0.7716, allocations: 402.8 kB / 0.9627 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7716, allocations: 0 / 0.9627 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006042/0.7722, allocations: 203.5 kB / 0.9629 GB, free: 8.215 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.001144/0.7734, allocations: 1.042 MB / 0.9639 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009339/0.7743, allocations: 0.5206 MB / 0.9645 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.7743, allocations: 4 kB / 0.9645 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.7747, allocations: 259.1 kB / 0.9647 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.7763, allocations: 367.8 kB / 0.9651 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006132/0.7825, allocations: 4.456 MB / 0.9694 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.783, allocations: 0.9132 MB / 0.9703 GB, free: 440 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004098/0.7834, allocations: 108.8 kB / 0.9704 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.7837, allocations: 195.4 kB / 0.9706 GB, free: 132 kB / 0.7169 GB Notification: Performance of SimCode: time 2.004e-06/0.7837, allocations: 0 / 0.9706 GB, free: 132 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04727/0.831, allocations: 17.7 MB / 0.9879 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.11, allocations: 7.844 kB / 0.9879 GB, free: 14.86 MB / 0.7481 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)