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.001249/0.001254, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.213/1.213, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6834/0.6834, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 68.2 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1283, allocations: 80.21 MB / 0.5802 GB, free: 8.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.3489/0.4772, allocations: 171 MB / 0.7472 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005533/0.4828, allocations: 4.278 MB / 0.7513 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005699/0.4834, allocations: 22.72 kB / 0.7514 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008382/0.4842, allocations: 355.2 kB / 0.7517 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.4862, allocations: 0.9971 MB / 0.7527 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.4878, allocations: 0.8031 MB / 0.7535 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.4889, allocations: 1.286 MB / 0.7547 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004937/0.4894, allocations: 498.9 kB / 0.7552 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000835/0.4902, allocations: 0.6613 MB / 0.7558 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007404/0.491, allocations: 453.6 kB / 0.7563 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.329e-05/0.4911, allocations: 52 kB / 0.7563 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.4923, allocations: 0.9082 MB / 0.7572 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.4925, allocations: 211.4 kB / 0.7574 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.4928, allocations: 334.5 kB / 0.7577 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.494, allocations: 1.126 MB / 0.7588 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.494, allocations: 4 kB / 0.7588 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.002e-06/0.494, allocations: 0 / 0.7588 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.494, allocations: 0 / 0.7588 GB, free: 11.89 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.001369/0.4954, allocations: 0.962 MB / 0.7598 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.4954, allocations: 8.031 kB / 0.7598 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.325e-05/0.4955, allocations: 82.53 kB / 0.7598 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.497, allocations: 267 kB / 0.7601 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006945/0.4977, allocations: 481.4 kB / 0.7606 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.498, allocations: 88.94 kB / 0.7606 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.48e-05/0.4981, allocations: 47.23 kB / 0.7607 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.4993, allocations: 0.6224 MB / 0.7613 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4993, allocations: 3.938 kB / 0.7613 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/0.4993, allocations: 16 kB / 0.7613 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.4994, allocations: 21 kB / 0.7613 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.5008, allocations: 0.5542 MB / 0.7619 GB, free: 8.645 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.003565/0.5043, allocations: 2.299 MB / 0.7641 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009484/0.5053, allocations: 294.3 kB / 0.7644 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.5059, allocations: 164.7 kB / 0.7646 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.5059, allocations: 8 kB / 0.7646 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.5059, allocations: 34.56 kB / 0.7646 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.5059, allocations: 0 / 0.7646 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005007/0.5109, allocations: 1.115 MB / 0.7657 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.511, allocations: 77.11 kB / 0.7658 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.5115, allocations: 0.5496 MB / 0.7663 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.5116, allocations: 29.7 kB / 0.7663 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.5118, allocations: 311.4 kB / 0.7666 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.5118, allocations: 35.45 kB / 0.7667 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.5119, allocations: 63.36 kB / 0.7667 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5121, allocations: 358.8 kB / 0.7671 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006201/0.5127, allocations: 195.8 kB / 0.7673 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006514/0.5133, allocations: 283.4 kB / 0.7675 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.5145, allocations: 411.4 kB / 0.7679 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5146, allocations: 0 / 0.7679 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002624/0.5172, allocations: 0.7394 MB / 0.7686 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.5172, allocations: 8 kB / 0.7686 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5172, allocations: 4.094 kB / 0.7686 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/0.5178, allocations: 180.7 kB / 0.7688 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.5182, allocations: 75.88 kB / 0.7689 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.5218, allocations: 2.232 MB / 0.7711 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/0.5223, allocations: 87.38 kB / 0.7712 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.5224, allocations: 8 kB / 0.7712 GB, free: 14.68 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.000193/0.5225, allocations: 189.8 kB / 0.7713 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.186e-05/0.5226, allocations: 51.38 kB / 0.7714 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.718e-05/0.5227, allocations: 48.03 kB / 0.7714 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.5228, allocations: 4 kB / 0.7714 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.5228, allocations: 7.938 kB / 0.7715 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.5228, allocations: 0 / 0.7715 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.5257, allocations: 1.137 MB / 0.7726 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5257, allocations: 4 kB / 0.7726 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.526, allocations: 43.95 kB / 0.7726 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004926/0.5265, allocations: 185.5 kB / 0.7728 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.5265, allocations: 7.938 kB / 0.7728 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003339/0.5298, allocations: 2.179 MB / 0.7749 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5299, allocations: 8.016 kB / 0.7749 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.5323, allocations: 0.7076 MB / 0.7756 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.5325, allocations: 172.4 kB / 0.7758 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.5325, allocations: 7.875 kB / 0.7758 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.5331, allocations: 52.88 kB / 0.7758 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.5332, allocations: 11.98 kB / 0.7759 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.5332, allocations: 15.98 kB / 0.7759 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003831/0.5336, allocations: 394.8 kB / 0.7762 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5336, allocations: 4 kB / 0.7762 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004988/0.5341, allocations: 183.8 kB / 0.7764 GB, free: 9.043 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.002897/0.537, allocations: 1.32 MB / 0.7777 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.5385, allocations: 0.538 MB / 0.7782 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5385, allocations: 0 / 0.7782 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007127/0.5393, allocations: 307 kB / 0.7785 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.5406, allocations: 304.8 kB / 0.7788 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.5512, allocations: 5.183 MB / 0.7839 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.5516, allocations: 0.862 MB / 0.7847 GB, free: 344 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003938/0.552, allocations: 100.5 kB / 0.7848 GB, free: 240 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.5522, allocations: 167.1 kB / 0.785 GB, free: 76 kB / 0.5919 GB Notification: Performance of SimCode: time 1.553e-06/0.5522, allocations: 0 / 0.785 GB, free: 76 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.722/2.275, allocations: 16.76 MB / 0.8013 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/15.06, allocations: 4.156 kB / 0.8014 GB, free: 15.69 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)