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/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007423/0.0007423, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005209/0.005209, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7574/0.7574, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 11.94 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.393, allocations: 81.56 MB / 0.5837 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1599/0.5529, allocations: 166.5 MB / 0.7464 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005505/0.5585, allocations: 4.29 MB / 0.7506 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004295/0.5589, allocations: 19.88 kB / 0.7506 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000761/0.5597, allocations: 294.5 kB / 0.7509 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.5615, allocations: 0.9375 MB / 0.7518 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.5631, allocations: 0.7262 MB / 0.7525 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.5647, allocations: 1.789 MB / 0.7542 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005293/0.5652, allocations: 410.3 kB / 0.7546 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009649/0.5662, allocations: 0.5835 MB / 0.7552 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008918/0.5671, allocations: 456.5 kB / 0.7556 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.5672, allocations: 20 kB / 0.7556 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.5686, allocations: 0.9977 MB / 0.7566 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.5688, allocations: 183.4 kB / 0.7568 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.569, allocations: 320.2 kB / 0.7571 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.5702, allocations: 1.129 MB / 0.7582 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5702, allocations: 4 kB / 0.7582 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5702, allocations: 0 / 0.7582 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.5702, allocations: 0 / 0.7582 GB, free: 13.16 MB / 0.5919 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.00134/0.5715, allocations: 0.8467 MB / 0.759 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5716, allocations: 8.031 kB / 0.759 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.405e-05/0.5717, allocations: 82.53 kB / 0.7591 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.5733, allocations: 291 kB / 0.7594 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.574, allocations: 488.7 kB / 0.7599 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003265/0.5744, allocations: 96.94 kB / 0.7599 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.5744, allocations: 40 kB / 0.76 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.5756, allocations: 0.638 MB / 0.7606 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5757, allocations: 4 kB / 0.7606 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.465e-05/0.5757, allocations: 20 kB / 0.7606 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.5757, allocations: 21 kB / 0.7607 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.5772, allocations: 0.5855 MB / 0.7612 GB, free: 9.941 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003619/0.5808, allocations: 2.315 MB / 0.7635 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009937/0.5818, allocations: 310.3 kB / 0.7638 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.5824, allocations: 187.7 kB / 0.764 GB, free: 7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.5824, allocations: 4 kB / 0.764 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.5824, allocations: 38.56 kB / 0.764 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.5825, allocations: 4 kB / 0.764 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.005145/0.5876, allocations: 1.189 MB / 0.7652 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.5877, allocations: 81.05 kB / 0.7652 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.5882, allocations: 0.5496 MB / 0.7658 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.5883, allocations: 25.7 kB / 0.7658 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.5885, allocations: 307.4 kB / 0.7661 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.5885, allocations: 43.53 kB / 0.7661 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.5886, allocations: 29.7 kB / 0.7662 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5887, allocations: 354.8 kB / 0.7665 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/0.5894, allocations: 207.8 kB / 0.7667 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/0.59, allocations: 291.6 kB / 0.767 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.5913, allocations: 449.7 kB / 0.7674 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5913, allocations: 3.938 kB / 0.7674 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002688/0.594, allocations: 0.7864 MB / 0.7682 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.594, allocations: 4 kB / 0.7682 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.594, allocations: 4 kB / 0.7682 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005839/0.5946, allocations: 184.8 kB / 0.7684 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.595, allocations: 83.88 kB / 0.7684 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/0.5985, allocations: 2.116 MB / 0.7705 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005982/0.5991, allocations: 95.41 kB / 0.7706 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.5991, allocations: 12 kB / 0.7706 GB, free: 15.87 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.5993, allocations: 185.8 kB / 0.7708 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.5994, allocations: 51.42 kB / 0.7708 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.133e-05/0.5995, allocations: 55.98 kB / 0.7709 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5995, allocations: 4 kB / 0.7709 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.5995, allocations: 0 / 0.7709 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5995, allocations: 7.922 kB / 0.7709 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.6025, allocations: 1.187 MB / 0.7721 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.6025, allocations: 0 / 0.7721 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.6028, allocations: 48.02 kB / 0.7721 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005057/0.6033, allocations: 188.8 kB / 0.7723 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.6033, allocations: 7.984 kB / 0.7723 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003346/0.6067, allocations: 2.073 MB / 0.7743 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-06/0.6067, allocations: 3.984 kB / 0.7743 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.6092, allocations: 0.7588 MB / 0.7751 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.6094, allocations: 164.5 kB / 0.7752 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.6095, allocations: 4 kB / 0.7752 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006004/0.6101, allocations: 75.2 kB / 0.7753 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.6102, allocations: 15.86 kB / 0.7753 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.6102, allocations: 15.98 kB / 0.7753 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004342/0.6106, allocations: 394.8 kB / 0.7757 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6107, allocations: 4 kB / 0.7757 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005821/0.6112, allocations: 183.7 kB / 0.7759 GB, free: 10.22 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003034/0.6143, allocations: 1.367 MB / 0.7772 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.6159, allocations: 0.5616 MB / 0.7778 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6159, allocations: 3.938 kB / 0.7778 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007453/0.6166, allocations: 322.9 kB / 0.7781 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.6182, allocations: 285.4 kB / 0.7784 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.6296, allocations: 5.483 MB / 0.7837 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.6301, allocations: 0.8621 MB / 0.7845 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004624/0.6306, allocations: 96.52 kB / 0.7846 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.6308, allocations: 163.4 kB / 0.7848 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.6308, allocations: 0 / 0.7848 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7242/1.355, allocations: 15.92 MB / 0.8003 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/1.355, allocations: 288.3 kB / 0.8006 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/3.768, allocations: 0 / 0.8006 GB, free: 0.9727 MB / 0.6231 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/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)