Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.001437/0.001436, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001858/0.001858, allocations: 194.5 kB / 16.14 MB, free: 6.707 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.243/1.243, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.665/0.665, allocations: 132.2 MB / 422.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 60.78 kB / 0.5012 GB, free: 9.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.136, allocations: 80.21 MB / 0.5795 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.3623/0.4983, allocations: 168.8 MB / 0.7443 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00568/0.5041, allocations: 4.349 MB / 0.7486 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.5045, allocations: 20.03 kB / 0.7486 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008145/0.5053, allocations: 305 kB / 0.7489 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.5075, allocations: 1.15 MB / 0.75 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.5089, allocations: 0.7203 MB / 0.7507 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001811/0.5108, allocations: 2.361 MB / 0.753 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005373/0.5113, allocations: 489.6 kB / 0.7535 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007598/0.5121, allocations: 0.6033 MB / 0.7541 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009579/0.513, allocations: 0.5715 MB / 0.7546 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.335e-05/0.5131, allocations: 32.05 kB / 0.7547 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.5145, allocations: 0.9156 MB / 0.7556 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.5147, allocations: 239.3 kB / 0.7558 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.515, allocations: 366.3 kB / 0.7561 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.5163, allocations: 1.289 MB / 0.7574 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.5163, allocations: 4 kB / 0.7574 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.61e-07/0.5163, allocations: 0 / 0.7574 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.5163, allocations: 0 / 0.7574 GB, free: 13.17 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001536/0.5178, allocations: 1.04 MB / 0.7584 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.5179, allocations: 8.031 kB / 0.7584 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.518, allocations: 98.52 kB / 0.7585 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009414/0.5189, allocations: 159.1 kB / 0.7587 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006578/0.5196, allocations: 0.5288 MB / 0.7592 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.5196, allocations: 37.31 kB / 0.7592 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.5197, allocations: 52 kB / 0.7593 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009833/0.5207, allocations: 0.6518 MB / 0.7599 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.5207, allocations: 0 / 0.7599 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/0.5208, allocations: 24 kB / 0.7599 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.5208, allocations: 29.31 kB / 0.76 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008438/0.5217, allocations: 0.5086 MB / 0.7604 GB, free: 9.926 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.002857/0.5245, allocations: 2.301 MB / 0.7627 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.525, allocations: 276.3 kB / 0.763 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.5253, allocations: 132.8 kB / 0.7631 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.5253, allocations: 4 kB / 0.7631 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.5253, allocations: 38.56 kB / 0.7631 GB, free: 7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.5253, allocations: 0 / 0.7631 GB, free: 7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001496/0.5268, allocations: 0.6778 MB / 0.7638 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.5269, allocations: 77.11 kB / 0.7639 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.5275, allocations: 0.5651 MB / 0.7644 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.5275, allocations: 33.69 kB / 0.7644 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.5277, allocations: 331.4 kB / 0.7648 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.5278, allocations: 67.02 kB / 0.7648 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.5279, allocations: 73.92 kB / 0.7649 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.528, allocations: 354.8 kB / 0.7652 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.5283, allocations: 136.6 kB / 0.7654 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.5286, allocations: 224 kB / 0.7656 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.5291, allocations: 336.4 kB / 0.7659 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5291, allocations: 7.438 kB / 0.7659 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008317/0.5299, allocations: 0.489 MB / 0.7664 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5299, allocations: 8 kB / 0.7664 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.53, allocations: 3.938 kB / 0.7664 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002785/0.5302, allocations: 89.66 kB / 0.7665 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.5306, allocations: 79.83 kB / 0.7666 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/0.5331, allocations: 3.103 MB / 0.7696 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.5335, allocations: 71.42 kB / 0.7697 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.5335, allocations: 8 kB / 0.7697 GB, free: 15.86 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.5338, allocations: 221.7 kB / 0.7699 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/0.5339, allocations: 59.34 kB / 0.7699 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.994e-05/0.534, allocations: 56.5 kB / 0.77 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.534, allocations: 4 kB / 0.77 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.534, allocations: 0 / 0.77 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006724/0.5347, allocations: 0.5305 MB / 0.7705 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.5359, allocations: 0.9168 MB / 0.7714 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5359, allocations: 0 / 0.7714 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.5361, allocations: 47.84 kB / 0.7714 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.5363, allocations: 68.88 kB / 0.7715 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.5363, allocations: 7.984 kB / 0.7715 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.5378, allocations: 1.684 MB / 0.7732 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5378, allocations: 0 / 0.7732 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005889/0.5384, allocations: 439 kB / 0.7736 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.5386, allocations: 164.5 kB / 0.7737 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/0.5387, allocations: 8 kB / 0.7737 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.5391, allocations: 31.16 kB / 0.7738 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.5392, allocations: 27.81 kB / 0.7738 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.5392, allocations: 11.98 kB / 0.7738 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003945/0.5396, allocations: 402.8 kB / 0.7742 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5397, allocations: 0 / 0.7742 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005973/0.5403, allocations: 207.6 kB / 0.7744 GB, free: 10.69 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001025/0.5413, allocations: 1.033 MB / 0.7754 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007645/0.5421, allocations: 0.5255 MB / 0.7759 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5421, allocations: 8.188 kB / 0.7759 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.5424, allocations: 260.4 kB / 0.7762 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.544, allocations: 351 kB / 0.7765 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/0.5495, allocations: 4.739 MB / 0.7811 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.5499, allocations: 0.9093 MB / 0.782 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000401/0.5503, allocations: 112 kB / 0.7821 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.5505, allocations: 195.3 kB / 0.7823 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.5505, allocations: 0 / 0.7823 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4803/1.031, allocations: 16.88 MB / 0.7988 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/1.031, allocations: 275.8 kB / 0.7991 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/3.127, allocations: 2.812 kB / 0.7991 GB, free: 1.504 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)