Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8314/0.8314, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.784/1.784, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 97.83 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.202e-05/4.218e-05, allocations: 7.109 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1785, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.189/6.368, allocations: 1.944 GB / 2.585 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/6.368, allocations: 84.22 kB / 2.585 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.496/7.864, allocations: 400.5 MB / 2.976 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/7.864, allocations: 0 / 2.976 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.6e-05/7.864, allocations: 19.98 kB / 2.976 GB, free: 84.76 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.003404/7.868, allocations: 0.8803 MB / 2.977 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.827e-05/7.868, allocations: 15.97 kB / 2.977 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002985/7.868, allocations: 78.52 kB / 2.977 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/7.871, allocations: 269.8 kB / 2.977 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/7.872, allocations: 480.2 kB / 2.978 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004579/7.873, allocations: 96.94 kB / 2.978 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/7.873, allocations: 51.94 kB / 2.978 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/7.875, allocations: 0.5383 MB / 2.978 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/7.875, allocations: 4 kB / 2.978 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/7.875, allocations: 20 kB / 2.978 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/7.875, allocations: 21 kB / 2.978 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/7.876, allocations: 411.8 kB / 2.979 GB, free: 81.8 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.005608/7.882, allocations: 2.159 MB / 2.981 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/7.882, allocations: 146.5 kB / 2.981 GB, free: 79.37 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/7.882, allocations: 88.83 kB / 2.981 GB, free: 79.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/7.883, allocations: 4 kB / 2.981 GB, free: 79.28 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/7.883, allocations: 34.56 kB / 2.981 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 5.25e-06/7.883, allocations: 0 / 2.981 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.002371/7.885, allocations: 437.7 kB / 2.982 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/7.885, allocations: 89.03 kB / 2.982 GB, free: 78.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/7.886, allocations: 484.7 kB / 2.982 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.485e-05/7.886, allocations: 33.7 kB / 2.982 GB, free: 78.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000258/7.886, allocations: 299.3 kB / 2.982 GB, free: 77.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-05/7.886, allocations: 39.45 kB / 2.982 GB, free: 77.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/7.886, allocations: 11.94 kB / 2.983 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001506/7.887, allocations: 362.8 kB / 2.983 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/7.887, allocations: 99.97 kB / 2.983 GB, free: 77.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/7.887, allocations: 186.4 kB / 2.983 GB, free: 77.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/7.887, allocations: 126.7 kB / 2.983 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/7.887, allocations: 3.938 kB / 2.983 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001724/7.889, allocations: 0.5589 MB / 2.984 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/7.889, allocations: 12.72 kB / 2.984 GB, free: 76.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/7.889, allocations: 4 kB / 2.984 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004762/7.89, allocations: 132.7 kB / 2.984 GB, free: 76.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/7.89, allocations: 75.89 kB / 2.984 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003532/7.894, allocations: 1.936 MB / 2.986 GB, free: 74.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009153/7.895, allocations: 95.53 kB / 2.986 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/7.895, allocations: 12 kB / 2.986 GB, free: 74.05 MB / 0.6823 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 (26): * Single equations (assignments): 25 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.00017/7.895, allocations: 116.9 kB / 2.986 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/7.895, allocations: 51.42 kB / 2.986 GB, free: 73.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/7.895, allocations: 52.16 kB / 2.986 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/7.895, allocations: 0 / 2.986 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/7.895, allocations: 4 kB / 2.986 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/7.895, allocations: 4.141 kB / 2.986 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/7.897, allocations: 0.9533 MB / 2.987 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/7.897, allocations: 0 / 2.987 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/7.898, allocations: 47.89 kB / 2.987 GB, free: 72.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/7.898, allocations: 132.8 kB / 2.987 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/7.898, allocations: 3.984 kB / 2.987 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/7.902, allocations: 1.796 MB / 2.989 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/7.902, allocations: 3.938 kB / 2.989 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/7.904, allocations: 0.5552 MB / 2.99 GB, free: 70.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006188/7.905, allocations: 164.4 kB / 2.99 GB, free: 69.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/7.905, allocations: 4 kB / 2.99 GB, free: 69.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/7.906, allocations: 68.12 kB / 2.99 GB, free: 69.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/7.906, allocations: 11.98 kB / 2.99 GB, free: 69.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/7.907, allocations: 15.98 kB / 2.99 GB, free: 69.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008279/7.907, allocations: 381.6 kB / 2.99 GB, free: 69.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.92e-07/7.907, allocations: 7.938 kB / 2.99 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002117/7.91, allocations: 267.8 kB / 2.991 GB, free: 69.18 MB / 0.6823 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 (7): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005707/7.915, allocations: 2.149 MB / 2.993 GB, free: 67 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001989/7.917, allocations: 454.4 kB / 2.993 GB, free: 66.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/7.917, allocations: 0 / 2.993 GB, free: 66.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000467/7.918, allocations: 218.5 kB / 2.993 GB, free: 66.31 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/7.92, allocations: 284.7 kB / 2.994 GB, free: 66.04 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/7.925, allocations: 0.8493 MB / 2.994 GB, free: 65.14 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/7.925, allocations: 0.874 MB / 2.995 GB, free: 64.24 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007278/7.926, allocations: 108.5 kB / 2.995 GB, free: 64.13 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/7.926, allocations: 151.4 kB / 2.995 GB, free: 63.98 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/7.926, allocations: 0 / 2.995 GB, free: 63.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07429/8, allocations: 33.79 MB / 3.028 GB, free: 30.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/8.001, allocations: 230.3 kB / 3.029 GB, free: 30.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/11.19, allocations: 0 / 3.029 GB, free: 30.16 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)