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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001798, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00436/0.00436, allocations: 189 kB / 16.25 MB, free: 6.621 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.802/1.802, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9142/0.9142, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.94 kB / 0.5049 GB, free: 5.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1601, allocations: 80.93 MB / 0.584 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6359/0.7961, allocations: 168.7 MB / 0.7487 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01186/0.808, allocations: 4.246 MB / 0.7529 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.8091, allocations: 24.12 kB / 0.7529 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.811, allocations: 316 kB / 0.7532 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004783/0.8158, allocations: 0.9293 MB / 0.7541 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.8197, allocations: 0.7409 MB / 0.7548 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002795/0.8225, allocations: 1.287 MB / 0.7561 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.8238, allocations: 483.2 kB / 0.7565 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002569/0.8263, allocations: 0.6655 MB / 0.7572 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.8287, allocations: 479.1 kB / 0.7576 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.829, allocations: 52 kB / 0.7577 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003885/0.8329, allocations: 0.947 MB / 0.7586 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005176/0.8334, allocations: 215.4 kB / 0.7588 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008445/0.8343, allocations: 334.5 kB / 0.7591 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.8373, allocations: 1.165 MB / 0.7603 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.8374, allocations: 3.938 kB / 0.7603 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8374, allocations: 3.938 kB / 0.7603 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.892e-05/0.8374, allocations: 0 / 0.7603 GB, free: 8.734 MB / 0.5762 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.003188/0.8406, allocations: 0.9505 MB / 0.7612 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.8407, allocations: 12.03 kB / 0.7612 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002009/0.8409, allocations: 86.52 kB / 0.7613 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003058/0.844, allocations: 255.1 kB / 0.7615 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.8457, allocations: 0.4931 MB / 0.762 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006379/0.8463, allocations: 84.94 kB / 0.7621 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.8465, allocations: 44 kB / 0.7621 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.8491, allocations: 0.6185 MB / 0.7627 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.8492, allocations: 0 / 0.7627 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.8493, allocations: 16 kB / 0.7628 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-05/0.8494, allocations: 28.98 kB / 0.7628 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002892/0.8523, allocations: 0.5503 MB / 0.7633 GB, free: 5.492 MB / 0.5762 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.007675/0.86, allocations: 2.288 MB / 0.7656 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.862, allocations: 294.3 kB / 0.7658 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.8632, allocations: 168.9 kB / 0.766 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.8633, allocations: 7.922 kB / 0.766 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.8633, allocations: 42.56 kB / 0.7661 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 3.536e-06/0.8634, allocations: 0 / 0.7661 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.009496/0.8729, allocations: 1.104 MB / 0.7671 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.873, allocations: 81.11 kB / 0.7672 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.8741, allocations: 0.5457 MB / 0.7677 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/0.8741, allocations: 29.7 kB / 0.7678 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.8745, allocations: 303.5 kB / 0.7681 GB, free: 436 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/0.8746, allocations: 39.45 kB / 0.7681 GB, free: 396 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.8748, allocations: 63.36 kB / 0.7682 GB, free: 328 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.875, allocations: 358.8 kB / 0.7685 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008657/0.8759, allocations: 195.8 kB / 0.7687 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007268/0.8766, allocations: 283.8 kB / 0.769 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.8781, allocations: 419.4 kB / 0.7694 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8781, allocations: 0 / 0.7694 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003823/0.882, allocations: 0.7395 MB / 0.7701 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.882, allocations: 4 kB / 0.7701 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.882, allocations: 4 kB / 0.7701 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.8831, allocations: 184.8 kB / 0.7703 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/0.8838, allocations: 79.88 kB / 0.7703 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/0.8896, allocations: 2.237 MB / 0.7725 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.8908, allocations: 87.38 kB / 0.7726 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.01e-05/0.8909, allocations: 12 kB / 0.7726 GB, free: 11.53 MB / 0.5919 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.0004582/0.8914, allocations: 189.8 kB / 0.7728 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.8916, allocations: 55.36 kB / 0.7729 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.8918, allocations: 48.05 kB / 0.7729 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.8919, allocations: 4 kB / 0.7729 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-06/0.8919, allocations: 0 / 0.7729 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.8919, allocations: 3.984 kB / 0.7729 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005809/0.8977, allocations: 1.137 MB / 0.774 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.8977, allocations: 0 / 0.774 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.8982, allocations: 40.02 kB / 0.7741 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.8993, allocations: 184.6 kB / 0.7742 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.8993, allocations: 15.92 kB / 0.7742 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006556/0.9059, allocations: 2.184 MB / 0.7764 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.9059, allocations: 0 / 0.7764 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004852/0.9108, allocations: 0.7119 MB / 0.7771 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.9113, allocations: 164.5 kB / 0.7772 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.9115, allocations: 3.938 kB / 0.7772 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.9127, allocations: 64.91 kB / 0.7773 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.9128, allocations: 11.98 kB / 0.7773 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.022e-05/0.9129, allocations: 19.98 kB / 0.7773 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008874/0.9138, allocations: 394.8 kB / 0.7777 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9138, allocations: 0 / 0.7777 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001237/0.915, allocations: 179.8 kB / 0.7779 GB, free: 5.891 MB / 0.5919 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.005514/0.9206, allocations: 1.331 MB / 0.7792 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002952/0.9235, allocations: 0.5416 MB / 0.7797 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.9236, allocations: 4 kB / 0.7797 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.925, allocations: 306.6 kB / 0.78 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/0.9278, allocations: 319 kB / 0.7803 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02203/0.9498, allocations: 5.308 MB / 0.7855 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007309/0.9506, allocations: 0.8582 MB / 0.7863 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009591/0.9516, allocations: 112.5 kB / 0.7864 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.9521, allocations: 159.4 kB / 0.7866 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of SimCode: time 8.51e-07/0.9521, allocations: 0 / 0.7866 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4131/1.365, allocations: 16.57 MB / 0.8028 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004229/1.366, allocations: 295.5 kB / 0.803 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.564/4.929, allocations: 4 kB / 0.8031 GB, free: 12.21 MB / 0.6231 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/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)