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.001482/0.001482, 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.001717/0.001717, allocations: 195.5 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.703/0.703, allocations: 132.2 MB / 422.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 64.94 kB / 0.5019 GB, free: 8.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1242, allocations: 80.2 MB / 0.5802 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.3572/0.4814, allocations: 171 MB / 0.7472 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005429/0.4868, allocations: 4.294 MB / 0.7514 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.4872, allocations: 26.94 kB / 0.7514 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008166/0.488, allocations: 359.4 kB / 0.7518 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.4905, allocations: 1.214 MB / 0.753 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.4921, allocations: 0.7832 MB / 0.7537 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.4936, allocations: 1.7 MB / 0.7554 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.4942, allocations: 0.5618 MB / 0.7559 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008295/0.495, allocations: 0.6805 MB / 0.7566 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009175/0.496, allocations: 0.5455 MB / 0.7571 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.4961, allocations: 64 kB / 0.7572 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.4973, allocations: 0.7951 MB / 0.758 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.4975, allocations: 279.2 kB / 0.7582 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.4979, allocations: 410.3 kB / 0.7586 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.4991, allocations: 1.258 MB / 0.7599 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4991, allocations: 0 / 0.7599 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4991, allocations: 0 / 0.7599 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.4991, allocations: 0 / 0.7599 GB, free: 10.84 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.001481/0.5006, allocations: 1.04 MB / 0.7609 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.5006, allocations: 12.03 kB / 0.7609 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.5007, allocations: 94.52 kB / 0.761 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009234/0.5017, allocations: 159.1 kB / 0.7611 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000639/0.5023, allocations: 0.5288 MB / 0.7616 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.5024, allocations: 45.31 kB / 0.7617 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.5024, allocations: 48 kB / 0.7617 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009286/0.5034, allocations: 0.6479 MB / 0.7624 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5034, allocations: 4 kB / 0.7624 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.5034, allocations: 24 kB / 0.7624 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.5035, allocations: 25.25 kB / 0.7624 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008172/0.5043, allocations: 0.5126 MB / 0.7629 GB, free: 7.594 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.002794/0.5071, allocations: 2.316 MB / 0.7652 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.5076, allocations: 258.7 kB / 0.7654 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.5078, allocations: 144.7 kB / 0.7656 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.5078, allocations: 7.984 kB / 0.7656 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.5079, allocations: 34.56 kB / 0.7656 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.5079, allocations: 4 kB / 0.7656 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001482/0.5094, allocations: 0.6708 MB / 0.7663 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.5094, allocations: 77.11 kB / 0.7663 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.51, allocations: 0.5651 MB / 0.7669 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.51, allocations: 29.7 kB / 0.7669 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.5102, allocations: 339.4 kB / 0.7672 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.5102, allocations: 74.92 kB / 0.7673 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.5103, allocations: 69.94 kB / 0.7674 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5105, allocations: 358.8 kB / 0.7677 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.5107, allocations: 132.6 kB / 0.7678 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.511, allocations: 228 kB / 0.7681 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/0.5115, allocations: 332.7 kB / 0.7684 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.5115, allocations: 4 kB / 0.7684 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007951/0.5123, allocations: 498.4 kB / 0.7689 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5123, allocations: 8 kB / 0.7689 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5123, allocations: 4.281 kB / 0.7689 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.5126, allocations: 97.64 kB / 0.769 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.5129, allocations: 71.84 kB / 0.769 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.5154, allocations: 3.341 MB / 0.7723 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.5159, allocations: 55.36 kB / 0.7723 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.5159, allocations: 16 kB / 0.7724 GB, free: 13.26 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.0002031/0.5161, allocations: 212.9 kB / 0.7726 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/0.5162, allocations: 55.34 kB / 0.7726 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.822e-05/0.5163, allocations: 60.5 kB / 0.7727 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5163, allocations: 7.938 kB / 0.7727 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.5163, allocations: 0 / 0.7727 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006333/0.5169, allocations: 0.5323 MB / 0.7732 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.518, allocations: 0.9201 MB / 0.7741 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.518, allocations: 3.938 kB / 0.7741 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.5182, allocations: 43.91 kB / 0.7741 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/0.5184, allocations: 60.81 kB / 0.7742 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.5185, allocations: 8 kB / 0.7742 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.5199, allocations: 1.833 MB / 0.776 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5199, allocations: 0 / 0.776 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.5205, allocations: 437.3 kB / 0.7764 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.5206, allocations: 172.4 kB / 0.7766 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.5207, allocations: 4 kB / 0.7766 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.5211, allocations: 15.98 kB / 0.7766 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.5212, allocations: 19.97 kB / 0.7766 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.5212, allocations: 12 kB / 0.7766 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003761/0.5216, allocations: 398.8 kB / 0.777 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5216, allocations: 0 / 0.777 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005115/0.5221, allocations: 207.6 kB / 0.7772 GB, free: 7.973 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.0009605/0.5231, allocations: 1.039 MB / 0.7782 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007817/0.5239, allocations: 0.5421 MB / 0.7788 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5239, allocations: 0 / 0.7788 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.5242, allocations: 255.2 kB / 0.779 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.5258, allocations: 369.4 kB / 0.7794 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.5308, allocations: 4.549 MB / 0.7838 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.5311, allocations: 0.9054 MB / 0.7847 GB, free: 116 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000355/0.5315, allocations: 116.8 kB / 0.7848 GB, free: 0 / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.5317, allocations: 195.5 kB / 0.785 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.5317, allocations: 0 / 0.785 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.396/1.928, allocations: 17.65 MB / 0.8022 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/18.49, allocations: 5.812 kB / 0.8022 GB, free: 14.55 MB / 0.6231 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)