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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.6992/0.6992, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009687/0.0009686, allocations: 180.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.3 MB / 441.4 MB, free: 4.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008343/0.0008344, allocations: 94.2 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 278.5 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.53e-05, allocations: 8 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3679, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.751/4.119, allocations: 1.942 GB / 2.706 GB, free: 104.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/4.119, allocations: 91.89 kB / 2.706 GB, free: 104.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.778/4.897, allocations: 270.1 MB / 2.97 GB, free: 111.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/4.897, allocations: 0 / 2.97 GB, free: 111.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.973e-05/4.897, allocations: 19.94 kB / 2.97 GB, free: 111.4 MB / 0.698 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.001421/4.899, allocations: 0.9175 MB / 2.971 GB, free: 110.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/4.899, allocations: 12.02 kB / 2.971 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.79e-05/4.899, allocations: 98.45 kB / 2.971 GB, free: 110.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008361/4.9, allocations: 155.1 kB / 2.971 GB, free: 110.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006751/4.9, allocations: 0.526 MB / 2.972 GB, free: 109.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/4.9, allocations: 41.31 kB / 2.972 GB, free: 109.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/4.9, allocations: 52 kB / 2.972 GB, free: 109.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/4.901, allocations: 0.6137 MB / 2.972 GB, free: 108.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/4.901, allocations: 4 kB / 2.972 GB, free: 108.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/4.901, allocations: 23.98 kB / 2.972 GB, free: 108.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/4.901, allocations: 25.31 kB / 2.972 GB, free: 108.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006031/4.902, allocations: 477.1 kB / 2.973 GB, free: 108.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/4.904, allocations: 2.243 MB / 2.975 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/4.905, allocations: 230.8 kB / 2.975 GB, free: 105.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/4.905, allocations: 112.8 kB / 2.975 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/4.905, allocations: 4 kB / 2.975 GB, free: 105.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/4.905, allocations: 38.56 kB / 2.975 GB, free: 105.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/4.905, allocations: 0 / 2.975 GB, free: 105.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0006768/4.906, allocations: 332.2 kB / 2.976 GB, free: 105.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/4.906, allocations: 81.11 kB / 2.976 GB, free: 105.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/4.906, allocations: 496.7 kB / 2.976 GB, free: 104.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/4.906, allocations: 29.7 kB / 2.976 GB, free: 104.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/4.906, allocations: 339.4 kB / 2.977 GB, free: 104.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/4.906, allocations: 70.94 kB / 2.977 GB, free: 104.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/4.906, allocations: 11.94 kB / 2.977 GB, free: 104.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/4.906, allocations: 358.8 kB / 2.977 GB, free: 103.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/4.907, allocations: 112.6 kB / 2.977 GB, free: 103.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/4.907, allocations: 208.4 kB / 2.977 GB, free: 103.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/4.907, allocations: 147.8 kB / 2.978 GB, free: 103.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/4.907, allocations: 4 kB / 2.978 GB, free: 103.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006327/4.908, allocations: 466.3 kB / 2.978 GB, free: 102.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/4.908, allocations: 12.28 kB / 2.978 GB, free: 102.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/4.908, allocations: 0 / 2.978 GB, free: 102.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002834/4.908, allocations: 89.61 kB / 2.978 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/4.908, allocations: 71.89 kB / 2.978 GB, free: 102.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/4.91, allocations: 2.989 MB / 2.981 GB, free: 99.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/4.91, allocations: 63.56 kB / 2.981 GB, free: 99.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/4.911, allocations: 19.94 kB / 2.981 GB, free: 99.31 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 7.756e-05/4.911, allocations: 116.9 kB / 2.981 GB, free: 99.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/4.911, allocations: 59.34 kB / 2.981 GB, free: 99.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.778e-05/4.911, allocations: 60.28 kB / 2.981 GB, free: 99.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/4.911, allocations: 0 / 2.981 GB, free: 99.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/4.911, allocations: 3.953 kB / 2.981 GB, free: 99.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004349/4.911, allocations: 0.4926 MB / 2.982 GB, free: 98.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/4.912, allocations: 0.892 MB / 2.983 GB, free: 97.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/4.912, allocations: 0 / 2.983 GB, free: 97.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/4.912, allocations: 39.97 kB / 2.983 GB, free: 97.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/4.913, allocations: 61 kB / 2.983 GB, free: 97.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/4.913, allocations: 15.95 kB / 2.983 GB, free: 97.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/4.914, allocations: 1.617 MB / 2.984 GB, free: 95.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/4.914, allocations: 8.047 kB / 2.984 GB, free: 95.67 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/4.914, allocations: 442.4 kB / 2.985 GB, free: 95.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/4.914, allocations: 164.4 kB / 2.985 GB, free: 95.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-05/4.915, allocations: 4 kB / 2.985 GB, free: 95.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/4.915, allocations: 39.81 kB / 2.985 GB, free: 94.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/4.915, allocations: 27.92 kB / 2.985 GB, free: 94.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/4.915, allocations: 11.98 kB / 2.985 GB, free: 94.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003562/4.915, allocations: 393.5 kB / 2.985 GB, free: 94.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.915, allocations: 0 / 2.985 GB, free: 94.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008687/4.916, allocations: 275.7 kB / 2.986 GB, free: 94.29 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001699/4.918, allocations: 1.962 MB / 2.988 GB, free: 92.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006344/4.919, allocations: 489 kB / 2.988 GB, free: 91.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/4.919, allocations: 0 / 2.988 GB, free: 91.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/4.919, allocations: 239.2 kB / 2.988 GB, free: 91.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/4.92, allocations: 366.4 kB / 2.989 GB, free: 91.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/4.921, allocations: 0.7954 MB / 2.989 GB, free: 90.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/4.922, allocations: 0.9176 MB / 2.99 GB, free: 89.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003715/4.922, allocations: 100.8 kB / 2.99 GB, free: 89.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/4.922, allocations: 191.4 kB / 2.991 GB, free: 89.12 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/4.922, allocations: 0 / 2.991 GB, free: 89.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/4.967, allocations: 34.09 MB / 3.024 GB, free: 55.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/4.967, allocations: 243.6 kB / 3.024 GB, free: 54.99 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/7.656, allocations: 4 kB / 3.024 GB, free: 54.99 MB / 0.698 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/linux/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)