Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_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.0009379/0.0009379, allocations: 175.1 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.8571/0.8571, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.602/1.602, allocations: 221.3 MB / 400.4 MB, free: 5.852 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.001318/0.001318, allocations: 92.22 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.755e-05/3.767e-05, allocations: 3.531 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1647, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.043/6.208, allocations: 1.944 GB / 2.585 GB, free: 256.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004519/6.208, allocations: 86.2 kB / 2.585 GB, free: 256.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.491/7.699, allocations: 400.5 MB / 2.976 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.797e-06/7.699, allocations: 0 / 2.976 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.666e-05/7.699, allocations: 15.94 kB / 2.976 GB, free: 138.1 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.002629/7.702, allocations: 0.8818 MB / 2.977 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/7.702, allocations: 15.97 kB / 2.977 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002093/7.702, allocations: 78.52 kB / 2.977 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001815/7.704, allocations: 270.5 kB / 2.977 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/7.705, allocations: 484.2 kB / 2.978 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003394/7.705, allocations: 96.94 kB / 2.978 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/7.706, allocations: 44 kB / 2.978 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/7.707, allocations: 0.5383 MB / 2.978 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/7.707, allocations: 0 / 2.978 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-05/7.707, allocations: 27.98 kB / 2.978 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/7.707, allocations: 21 kB / 2.978 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007211/7.707, allocations: 411.8 kB / 2.979 GB, free: 135.1 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.003712/7.711, allocations: 2.154 MB / 2.981 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/7.711, allocations: 154.5 kB / 2.981 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/7.712, allocations: 88.81 kB / 2.981 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/7.712, allocations: 4 kB / 2.981 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/7.712, allocations: 38.56 kB / 2.981 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/7.712, allocations: 0 / 2.981 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001755/7.713, allocations: 445.7 kB / 2.982 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/7.713, allocations: 85.05 kB / 2.982 GB, free: 132 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005622/7.714, allocations: 488.6 kB / 2.982 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/7.714, allocations: 37.69 kB / 2.982 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/7.714, allocations: 295.3 kB / 2.982 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/7.714, allocations: 47.38 kB / 2.983 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.999e-05/7.714, allocations: 8 kB / 2.983 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001087/7.714, allocations: 350.8 kB / 2.983 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/7.715, allocations: 112 kB / 2.983 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/7.715, allocations: 190.4 kB / 2.983 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/7.715, allocations: 126.6 kB / 2.983 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/7.715, allocations: 0 / 2.983 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001718/7.717, allocations: 0.5568 MB / 2.984 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/7.717, allocations: 12.08 kB / 2.984 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/7.717, allocations: 8 kB / 2.984 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004823/7.717, allocations: 124.8 kB / 2.984 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/7.718, allocations: 79.89 kB / 2.984 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/7.721, allocations: 1.924 MB / 2.986 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007969/7.722, allocations: 95.64 kB / 2.986 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/7.722, allocations: 15.95 kB / 2.986 GB, free: 127.4 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.0001648/7.722, allocations: 128.8 kB / 2.986 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/7.722, allocations: 47.44 kB / 2.986 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/7.722, allocations: 48.17 kB / 2.986 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/7.722, allocations: 0 / 2.986 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/7.722, allocations: 4 kB / 2.986 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/7.722, allocations: 3.984 kB / 2.986 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/7.725, allocations: 0.9571 MB / 2.987 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/7.725, allocations: 0 / 2.987 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/7.725, allocations: 39.97 kB / 2.987 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003296/7.725, allocations: 136.8 kB / 2.987 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/7.725, allocations: 0 / 2.987 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/7.728, allocations: 1.8 MB / 2.989 GB, free: 124 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/7.728, allocations: 7.938 kB / 2.989 GB, free: 124 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/7.729, allocations: 0.5475 MB / 2.99 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/7.73, allocations: 164.5 kB / 2.99 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/7.73, allocations: 4 kB / 2.99 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/7.73, allocations: 67.84 kB / 2.99 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/7.731, allocations: 15.92 kB / 2.99 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/7.731, allocations: 15.92 kB / 2.99 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000482/7.731, allocations: 385.5 kB / 2.99 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/7.731, allocations: 0 / 2.99 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001476/7.733, allocations: 267.8 kB / 2.991 GB, free: 122.5 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.003793/7.736, allocations: 2.141 MB / 2.993 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001242/7.738, allocations: 470.3 kB / 2.993 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/7.738, allocations: 0 / 2.993 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002857/7.738, allocations: 210.6 kB / 2.993 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/7.739, allocations: 280.7 kB / 2.994 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/7.742, allocations: 0.8451 MB / 2.994 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/7.743, allocations: 0.8819 MB / 2.995 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005343/7.743, allocations: 96.7 kB / 2.995 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/7.744, allocations: 159.4 kB / 2.995 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/7.744, allocations: 3.938 kB / 2.995 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07157/7.815, allocations: 33.78 MB / 3.028 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/7.816, allocations: 240.6 kB / 3.029 GB, free: 83.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/11.12, allocations: 3.938 kB / 3.029 GB, free: 83.48 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)