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.0009022/0.0009023, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7394/0.7394, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0008877, allocations: 94.11 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.641e-05, allocations: 4 kB / 0.5536 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4777, allocations: 82.29 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.831/6.309, allocations: 1.944 GB / 2.578 GB, free: 55.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003864/6.31, allocations: 94.38 kB / 2.578 GB, free: 55.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.061/8.371, allocations: 396 MB / 2.964 GB, free: 178 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.62e-06/8.371, allocations: 2.688 kB / 2.964 GB, free: 178 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.719e-05/8.371, allocations: 19.12 kB / 2.964 GB, free: 178 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.002779/8.374, allocations: 0.8745 MB / 2.965 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/8.374, allocations: 14.59 kB / 2.965 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/8.376, allocations: 265.2 kB / 2.966 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/8.377, allocations: 481.4 kB / 2.966 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/8.378, allocations: 89.53 kB / 2.966 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/8.378, allocations: 21.97 kB / 2.966 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008501/8.379, allocations: 389.8 kB / 2.967 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009442/8.379, allocations: 498.2 kB / 2.967 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/8.38, allocations: 0 / 2.967 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/8.38, allocations: 0 / 2.967 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/8.38, allocations: 21.69 kB / 2.967 GB, free: 177.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.003941/8.384, allocations: 2.034 MB / 2.969 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/8.384, allocations: 152.3 kB / 2.969 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/8.384, allocations: 82.38 kB / 2.969 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/8.384, allocations: 0 / 2.969 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/8.384, allocations: 37.69 kB / 2.969 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/8.384, allocations: 3.5 kB / 2.969 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001816/8.386, allocations: 419.7 kB / 2.97 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/8.386, allocations: 81.89 kB / 2.97 GB, free: 176 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/8.386, allocations: 352.6 kB / 2.97 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/8.386, allocations: 25.7 kB / 2.97 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/8.387, allocations: 307.3 kB / 2.97 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/8.387, allocations: 37.56 kB / 2.97 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/8.387, allocations: 3.625 kB / 2.97 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001298/8.387, allocations: 352.4 kB / 2.971 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/8.387, allocations: 103.4 kB / 2.971 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/8.387, allocations: 186.6 kB / 2.971 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/8.388, allocations: 122.3 kB / 2.971 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/8.388, allocations: 12.75 kB / 2.971 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001789/8.389, allocations: 0.5301 MB / 2.972 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/8.389, allocations: 10.05 kB / 2.972 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/8.39, allocations: 0 / 2.972 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004277/8.39, allocations: 137.1 kB / 2.972 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/8.39, allocations: 77.05 kB / 2.972 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/8.393, allocations: 1.753 MB / 2.974 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/8.393, allocations: 65.11 kB / 2.974 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/8.394, allocations: 10.41 kB / 2.974 GB, free: 174 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real 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.0002294/8.394, allocations: 112.9 kB / 2.974 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001576/8.395, allocations: 424 kB / 2.974 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/8.396, allocations: 42.59 kB / 2.974 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/8.396, allocations: 47.06 kB / 2.974 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/8.396, allocations: 0 / 2.974 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/8.396, allocations: 0 / 2.974 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/8.396, allocations: 7.859 kB / 2.974 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/8.398, allocations: 0.8885 MB / 2.975 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/8.398, allocations: 5.406 kB / 2.975 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/8.398, allocations: 42.8 kB / 2.975 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003195/8.399, allocations: 129.6 kB / 2.975 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/8.399, allocations: 2.812 kB / 2.975 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/8.401, allocations: 1.736 MB / 2.977 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/8.401, allocations: 1.406 kB / 2.977 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/8.403, allocations: 0.544 MB / 2.978 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/8.403, allocations: 152.8 kB / 2.978 GB, free: 172 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/8.403, allocations: 2.844 kB / 2.978 GB, free: 172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/8.403, allocations: 64.73 kB / 2.978 GB, free: 172 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/8.404, allocations: 20.34 kB / 2.978 GB, free: 172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/8.404, allocations: 14.19 kB / 2.978 GB, free: 172 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003415/8.404, allocations: 273 kB / 2.978 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.11e-07/8.404, allocations: 0 / 2.978 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001262/8.405, allocations: 263.1 kB / 2.978 GB, free: 171.9 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.004173/8.409, allocations: 2.255 MB / 2.981 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007787/8.41, allocations: 353.6 kB / 2.981 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/8.41, allocations: 2.375 kB / 2.981 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/8.411, allocations: 202.9 kB / 2.981 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/8.412, allocations: 183.3 kB / 2.981 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/8.415, allocations: 0.7992 MB / 2.982 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/8.415, allocations: 0.8803 MB / 2.983 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004304/8.415, allocations: 74.42 kB / 2.983 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/8.416, allocations: 154.3 kB / 2.983 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of SimCode: time 7.01e-07/8.416, allocations: 0 / 2.983 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04641/8.462, allocations: 19.35 MB / 3.002 GB, free: 166 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/8.462, allocations: 184 kB / 3.002 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/11.19, allocations: 0 / 3.002 GB, free: 165.8 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)