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.0009861/0.0009861, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009682/0.0009682, allocations: 191.9 kB / 16.25 MB, free: 6.625 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.224/1.224, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7018/0.7018, allocations: 132.2 MB / 422.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 63.91 kB / 0.5014 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3152, allocations: 80.19 MB / 0.5797 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1588/0.474, allocations: 168.8 MB / 0.7445 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005703/0.4797, allocations: 4.269 MB / 0.7486 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004829/0.4802, allocations: 23.81 kB / 0.7487 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008221/0.4811, allocations: 318.5 kB / 0.749 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.4834, allocations: 1.144 MB / 0.7501 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.485, allocations: 0.7256 MB / 0.7508 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.4867, allocations: 1.687 MB / 0.7524 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006324/0.4873, allocations: 0.5503 MB / 0.753 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009051/0.4882, allocations: 0.685 MB / 0.7536 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009524/0.4892, allocations: 0.5923 MB / 0.7542 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.02e-05/0.4893, allocations: 68 kB / 0.7543 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.4905, allocations: 0.8456 MB / 0.7551 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.4907, allocations: 267.3 kB / 0.7554 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003612/0.4911, allocations: 410.3 kB / 0.7558 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.4923, allocations: 1.309 MB / 0.757 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4923, allocations: 4 kB / 0.757 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4923, allocations: 0 / 0.757 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.4924, allocations: 0 / 0.757 GB, free: 11.5 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001541/0.4939, allocations: 1.036 MB / 0.7581 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.4939, allocations: 16.02 kB / 0.7581 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.4941, allocations: 94.52 kB / 0.7582 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009771/0.495, allocations: 159 kB / 0.7583 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.4957, allocations: 0.5288 MB / 0.7588 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.4958, allocations: 49.25 kB / 0.7589 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.4958, allocations: 52 kB / 0.7589 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.4969, allocations: 0.6479 MB / 0.7596 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4969, allocations: 0 / 0.7596 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.497, allocations: 24 kB / 0.7596 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.497, allocations: 25.31 kB / 0.7596 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008568/0.4979, allocations: 0.5126 MB / 0.7601 GB, free: 8.246 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.002942/0.5008, allocations: 2.316 MB / 0.7624 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.5013, allocations: 258.7 kB / 0.7626 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.5015, allocations: 135 kB / 0.7627 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.5016, allocations: 4 kB / 0.7627 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.5016, allocations: 42.56 kB / 0.7628 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.5016, allocations: 0 / 0.7628 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.001543/0.5032, allocations: 0.6649 MB / 0.7634 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.5032, allocations: 85.05 kB / 0.7635 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005813/0.5038, allocations: 0.5612 MB / 0.7641 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.5039, allocations: 33.7 kB / 0.7641 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.5041, allocations: 339.4 kB / 0.7644 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.5041, allocations: 67.02 kB / 0.7645 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.5042, allocations: 69.94 kB / 0.7646 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5044, allocations: 358.8 kB / 0.7649 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.5046, allocations: 132.6 kB / 0.765 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.5049, allocations: 228.1 kB / 0.7652 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.5054, allocations: 332.4 kB / 0.7656 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5055, allocations: 0 / 0.7656 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008524/0.5063, allocations: 0.4929 MB / 0.766 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.5063, allocations: 4 kB / 0.766 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5063, allocations: 7.984 kB / 0.766 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002843/0.5066, allocations: 93.59 kB / 0.7661 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.507, allocations: 71.91 kB / 0.7662 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.5098, allocations: 3.347 MB / 0.7695 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004687/0.5102, allocations: 71.41 kB / 0.7695 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.5103, allocations: 12 kB / 0.7696 GB, free: 13.9 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 (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.0002244/0.5105, allocations: 217.7 kB / 0.7698 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.5106, allocations: 59.34 kB / 0.7698 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.902e-05/0.5107, allocations: 56.44 kB / 0.7699 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5107, allocations: 7.938 kB / 0.7699 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.5107, allocations: 4 kB / 0.7699 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006778/0.5114, allocations: 0.5279 MB / 0.7704 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.5126, allocations: 0.9219 MB / 0.7713 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5126, allocations: 3.938 kB / 0.7713 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.5128, allocations: 40.16 kB / 0.7713 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.513, allocations: 64.81 kB / 0.7714 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.513, allocations: 4 kB / 0.7714 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.5146, allocations: 1.821 MB / 0.7732 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5146, allocations: 0 / 0.7732 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005943/0.5152, allocations: 445.3 kB / 0.7736 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.5154, allocations: 172.5 kB / 0.7738 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.008e-05/0.5155, allocations: 0 / 0.7738 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004669/0.516, allocations: 37.31 kB / 0.7738 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.516, allocations: 24.16 kB / 0.7738 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.5161, allocations: 16 kB / 0.7738 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003988/0.5165, allocations: 402.8 kB / 0.7742 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.5165, allocations: 0 / 0.7742 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000582/0.5171, allocations: 203.7 kB / 0.7744 GB, free: 8.586 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 (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.001051/0.5181, allocations: 1.03 MB / 0.7754 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008344/0.519, allocations: 0.5407 MB / 0.776 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.519, allocations: 8.062 kB / 0.776 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.5193, allocations: 254.5 kB / 0.7762 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.5209, allocations: 378.4 kB / 0.7766 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/0.5266, allocations: 4.727 MB / 0.7812 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.5271, allocations: 0.9015 MB / 0.7821 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004182/0.5275, allocations: 116.8 kB / 0.7822 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.5278, allocations: 195.4 kB / 0.7824 GB, free: 240 kB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.5278, allocations: 0 / 0.7824 GB, free: 240 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.5611, allocations: 17.43 MB / 0.7994 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.5614, allocations: 279.8 kB / 0.7997 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.566, allocations: 0 / 0.7997 GB, free: 14.85 MB / 0.6387 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)