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.8419/0.8419, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 176.8 kB / 182.2 MB, free: 9.441 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.537/1.537, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.000888/0.0008881, allocations: 96.02 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001702/0.001702, allocations: 275.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.331e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4726, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.47/5.943, allocations: 1.941 GB / 2.699 GB, free: 79.28 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/5.943, allocations: 87.31 kB / 2.699 GB, free: 79.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9995/6.943, allocations: 267 MB / 2.959 GB, free: 99.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/6.943, allocations: 0 / 2.959 GB, free: 99.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.442e-05/6.943, allocations: 24.12 kB / 2.959 GB, free: 99.48 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.001823/6.945, allocations: 0.9005 MB / 2.96 GB, free: 98.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/6.945, allocations: 11.97 kB / 2.96 GB, free: 98.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/6.946, allocations: 163 kB / 2.96 GB, free: 98.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/6.947, allocations: 0.5221 MB / 2.961 GB, free: 97.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/6.947, allocations: 16 kB / 2.961 GB, free: 97.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/6.947, allocations: 32 kB / 2.961 GB, free: 97.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008025/6.948, allocations: 442.5 kB / 2.961 GB, free: 97.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/6.949, allocations: 0.5486 MB / 2.962 GB, free: 96.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/6.949, allocations: 0 / 2.962 GB, free: 96.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/6.949, allocations: 4 kB / 2.962 GB, free: 96.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/6.949, allocations: 17.31 kB / 2.962 GB, free: 96.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/6.952, allocations: 2.104 MB / 2.964 GB, free: 94.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/6.952, allocations: 215.2 kB / 2.964 GB, free: 94.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/6.952, allocations: 113.9 kB / 2.964 GB, free: 94.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/6.952, allocations: 11.98 kB / 2.964 GB, free: 94.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/6.953, allocations: 38.56 kB / 2.964 GB, free: 94.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.615e-06/6.953, allocations: 0 / 2.964 GB, free: 94.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0009234/6.953, allocations: 302.7 kB / 2.965 GB, free: 93.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/6.954, allocations: 85.05 kB / 2.965 GB, free: 93.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/6.954, allocations: 365.1 kB / 2.965 GB, free: 93.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/6.954, allocations: 25.7 kB / 2.965 GB, free: 93.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/6.954, allocations: 342.8 kB / 2.965 GB, free: 92.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/6.954, allocations: 67.03 kB / 2.966 GB, free: 92.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/6.954, allocations: 4 kB / 2.966 GB, free: 92.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001266/6.954, allocations: 346.8 kB / 2.966 GB, free: 92.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/6.955, allocations: 104.6 kB / 2.966 GB, free: 92.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/6.955, allocations: 208 kB / 2.966 GB, free: 92.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/6.955, allocations: 135.9 kB / 2.966 GB, free: 92.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/6.955, allocations: 0 / 2.966 GB, free: 92.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006367/6.956, allocations: 430.7 kB / 2.967 GB, free: 91.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/6.956, allocations: 4 kB / 2.967 GB, free: 91.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/6.956, allocations: 4 kB / 2.967 GB, free: 91.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/6.956, allocations: 85.66 kB / 2.967 GB, free: 91.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/6.956, allocations: 75.91 kB / 2.967 GB, free: 91.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/6.959, allocations: 2.841 MB / 2.97 GB, free: 88.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/6.959, allocations: 43.78 kB / 2.97 GB, free: 88.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/6.959, allocations: 19.92 kB / 2.97 GB, free: 88.3 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 0.0001486/6.959, allocations: 113.6 kB / 2.97 GB, free: 88.19 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005341/6.96, allocations: 299.8 kB / 2.97 GB, free: 87.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/6.96, allocations: 43.48 kB / 2.97 GB, free: 87.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/6.96, allocations: 47.52 kB / 2.97 GB, free: 87.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/6.96, allocations: 4 kB / 2.97 GB, free: 87.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/6.96, allocations: 0 / 2.97 GB, free: 87.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004843/6.961, allocations: 496.4 kB / 2.971 GB, free: 87.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/6.962, allocations: 0.7995 MB / 2.971 GB, free: 86.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/6.962, allocations: 4 kB / 2.971 GB, free: 86.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/6.962, allocations: 43.91 kB / 2.972 GB, free: 86.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000183/6.962, allocations: 64.88 kB / 2.972 GB, free: 86.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/6.962, allocations: 0 / 2.972 GB, free: 86.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/6.963, allocations: 1.549 MB / 2.973 GB, free: 84.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/6.963, allocations: 0 / 2.973 GB, free: 84.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/6.964, allocations: 417.7 kB / 2.973 GB, free: 84.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/6.964, allocations: 160.5 kB / 2.974 GB, free: 83.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/6.964, allocations: 3.953 kB / 2.974 GB, free: 83.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/6.964, allocations: 31.97 kB / 2.974 GB, free: 83.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/6.965, allocations: 19.91 kB / 2.974 GB, free: 83.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/6.965, allocations: 16.17 kB / 2.974 GB, free: 83.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002724/6.965, allocations: 275 kB / 2.974 GB, free: 83.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/6.965, allocations: 0 / 2.974 GB, free: 83.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001046/6.966, allocations: 279.4 kB / 2.974 GB, free: 83.37 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.001929/6.968, allocations: 2.06 MB / 2.976 GB, free: 81.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006544/6.969, allocations: 469 kB / 2.977 GB, free: 80.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/6.969, allocations: 4 kB / 2.977 GB, free: 80.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/6.969, allocations: 227.6 kB / 2.977 GB, free: 80.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/6.97, allocations: 244.2 kB / 2.977 GB, free: 80.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/6.971, allocations: 0.7542 MB / 2.978 GB, free: 79.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/6.972, allocations: 0.9205 MB / 2.979 GB, free: 78.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003912/6.972, allocations: 96.06 kB / 2.979 GB, free: 78.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/6.972, allocations: 179.4 kB / 2.979 GB, free: 78.32 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/6.972, allocations: 0 / 2.979 GB, free: 78.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04373/7.016, allocations: 20.18 MB / 2.999 GB, free: 58.27 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/7.016, allocations: 201.2 kB / 2.999 GB, free: 58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/9.997, allocations: 0 / 2.999 GB, free: 58 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)