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.001395/0.001395, allocations: 173.9 kB / 7.648 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.8137/0.8137, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.655/1.655, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.001239/0.001239, allocations: 95.09 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.178e-05, allocations: 8 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.5528, allocations: 82.29 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.488/6.041, allocations: 1.944 GB / 2.578 GB, free: 92.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/6.041, allocations: 87.95 kB / 2.578 GB, free: 92.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.117/8.158, allocations: 396 MB / 2.964 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.136e-06/8.158, allocations: 3.469 kB / 2.964 GB, free: 184.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.525e-05/8.158, allocations: 15.38 kB / 2.964 GB, free: 184.2 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.00268/8.161, allocations: 0.8759 MB / 2.965 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/8.161, allocations: 11 kB / 2.965 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/8.162, allocations: 268.3 kB / 2.966 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/8.164, allocations: 484.2 kB / 2.966 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003203/8.164, allocations: 84.89 kB / 2.966 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/8.164, allocations: 23.41 kB / 2.966 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007931/8.165, allocations: 390.6 kB / 2.967 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008712/8.166, allocations: 494.8 kB / 2.967 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/8.166, allocations: 2.719 kB / 2.967 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/8.166, allocations: 3.688 kB / 2.967 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/8.166, allocations: 22.47 kB / 2.967 GB, free: 183.3 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.00361/8.17, allocations: 2.029 MB / 2.969 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/8.17, allocations: 143.9 kB / 2.969 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/8.17, allocations: 83.09 kB / 2.969 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/8.17, allocations: 3.969 kB / 2.969 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/8.17, allocations: 39.2 kB / 2.969 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/8.17, allocations: 0 / 2.969 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001784/8.172, allocations: 427 kB / 2.97 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/8.172, allocations: 81.05 kB / 2.97 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/8.172, allocations: 350.8 kB / 2.97 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/8.172, allocations: 25.7 kB / 2.97 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/8.173, allocations: 310.2 kB / 2.97 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/8.173, allocations: 44.45 kB / 2.97 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/8.173, allocations: 3.938 kB / 2.97 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00012/8.173, allocations: 353.9 kB / 2.971 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/8.173, allocations: 100.6 kB / 2.971 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/8.173, allocations: 185.7 kB / 2.971 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/8.174, allocations: 126.8 kB / 2.971 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/8.174, allocations: 0 / 2.971 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001816/8.175, allocations: 0.5383 MB / 2.972 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/8.175, allocations: 3.688 kB / 2.972 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/8.175, allocations: 3.844 kB / 2.972 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004344/8.176, allocations: 135.4 kB / 2.972 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/8.176, allocations: 78.2 kB / 2.972 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/8.179, allocations: 1.741 MB / 2.974 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/8.179, allocations: 75.27 kB / 2.974 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/8.179, allocations: 7.312 kB / 2.974 GB, free: 180.2 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.0002055/8.18, allocations: 117.6 kB / 2.974 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001524/8.181, allocations: 423.3 kB / 2.974 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/8.181, allocations: 46.05 kB / 2.974 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.698e-05/8.181, allocations: 41.47 kB / 2.974 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/8.181, allocations: 0 / 2.974 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/8.181, allocations: 0 / 2.974 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/8.181, allocations: 0 / 2.974 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/8.183, allocations: 0.8889 MB / 2.975 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/8.183, allocations: 0 / 2.975 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/8.184, allocations: 53.36 kB / 2.975 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003162/8.184, allocations: 128.3 kB / 2.975 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/8.184, allocations: 0 / 2.975 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/8.186, allocations: 1.742 MB / 2.977 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/8.186, allocations: 3.906 kB / 2.977 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/8.188, allocations: 0.541 MB / 2.978 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/8.188, allocations: 150.9 kB / 2.978 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/8.188, allocations: 6.078 kB / 2.978 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/8.189, allocations: 68.73 kB / 2.978 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/8.189, allocations: 14.09 kB / 2.978 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/8.189, allocations: 15.25 kB / 2.978 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002851/8.189, allocations: 268.8 kB / 2.978 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.6e-07/8.189, allocations: 3.938 kB / 2.978 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001325/8.19, allocations: 257.3 kB / 2.978 GB, free: 178.1 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.0042/8.195, allocations: 2.262 MB / 2.981 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006892/8.195, allocations: 343.6 kB / 2.981 GB, free: 177 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/8.195, allocations: 1.688 kB / 2.981 GB, free: 177 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002784/8.196, allocations: 203.4 kB / 2.981 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/8.197, allocations: 182 kB / 2.981 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/8.2, allocations: 0.8153 MB / 2.982 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/8.2, allocations: 0.8721 MB / 2.983 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004559/8.201, allocations: 72.75 kB / 2.983 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/8.201, allocations: 153.8 kB / 2.983 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of SimCode: time 7.81e-07/8.201, allocations: 0 / 2.983 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04392/8.245, allocations: 19.37 MB / 3.002 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/8.245, allocations: 189.5 kB / 3.002 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/11.17, allocations: 0 / 3.002 GB, free: 174.9 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)