Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_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.001287/0.001287, 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.001258/0.001258, allocations: 195.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.217/1.217, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8311/0.8311, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 69.55 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1217, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.3463/0.468, allocations: 171 MB / 0.7515 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005098/0.4732, allocations: 4.28 MB / 0.7557 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.4735, allocations: 21.5 kB / 0.7557 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007941/0.4743, allocations: 359.3 kB / 0.756 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.4763, allocations: 1.221 MB / 0.7572 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.4777, allocations: 0.7783 MB / 0.758 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.479, allocations: 1.697 MB / 0.7597 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005782/0.4796, allocations: 0.5707 MB / 0.7602 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007456/0.4803, allocations: 0.6772 MB / 0.7609 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008695/0.4812, allocations: 0.5525 MB / 0.7614 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-05/0.4813, allocations: 68 kB / 0.7615 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.4824, allocations: 0.799 MB / 0.7623 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.4826, allocations: 263.3 kB / 0.7625 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003399/0.483, allocations: 414.2 kB / 0.7629 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.4841, allocations: 1.254 MB / 0.7641 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4841, allocations: 0 / 0.7641 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.063e-06/0.4842, allocations: 8 kB / 0.7641 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.4842, allocations: 0 / 0.7641 GB, free: 4.898 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.001434/0.4856, allocations: 1.04 MB / 0.7652 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.4856, allocations: 8.031 kB / 0.7652 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.4858, allocations: 94.52 kB / 0.7652 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008862/0.4866, allocations: 163 kB / 0.7654 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006185/0.4873, allocations: 0.521 MB / 0.7659 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.4873, allocations: 45.31 kB / 0.766 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.4874, allocations: 52 kB / 0.766 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009091/0.4883, allocations: 0.6518 MB / 0.7666 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4883, allocations: 0 / 0.7666 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.655e-05/0.4884, allocations: 28 kB / 0.7667 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.4884, allocations: 21.31 kB / 0.7667 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008003/0.4892, allocations: 0.5164 MB / 0.7672 GB, free: 1.656 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.002711/0.4919, allocations: 2.316 MB / 0.7695 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.4924, allocations: 262.7 kB / 0.7697 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.4926, allocations: 136.8 kB / 0.7698 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.4926, allocations: 4 kB / 0.7698 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.4927, allocations: 42.56 kB / 0.7699 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.4927, allocations: 0 / 0.7699 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.00142/0.4941, allocations: 0.6749 MB / 0.7705 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.4942, allocations: 81.11 kB / 0.7706 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.4947, allocations: 0.5612 MB / 0.7712 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.4947, allocations: 33.7 kB / 0.7712 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.4949, allocations: 331.4 kB / 0.7715 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.495, allocations: 71 kB / 0.7716 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.4951, allocations: 73.94 kB / 0.7717 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4952, allocations: 358.8 kB / 0.772 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.4954, allocations: 128.6 kB / 0.7721 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.4957, allocations: 223.5 kB / 0.7723 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.4962, allocations: 341.6 kB / 0.7727 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4962, allocations: 0 / 0.7727 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007968/0.497, allocations: 498.5 kB / 0.7731 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.497, allocations: 11.92 kB / 0.7731 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4971, allocations: 4 kB / 0.7731 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.4973, allocations: 93.84 kB / 0.7732 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.4976, allocations: 71.84 kB / 0.7733 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.5001, allocations: 3.347 MB / 0.7766 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.5005, allocations: 55.36 kB / 0.7766 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.5006, allocations: 16.06 kB / 0.7766 GB, free: 7.324 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.0002025/0.5008, allocations: 210.4 kB / 0.7768 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.5009, allocations: 59.34 kB / 0.7769 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.441e-05/0.501, allocations: 56.5 kB / 0.777 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.501, allocations: 11 kB / 0.777 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.501, allocations: 0 / 0.777 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000636/0.5016, allocations: 0.5345 MB / 0.7775 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.5027, allocations: 0.9087 MB / 0.7784 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5027, allocations: 4 kB / 0.7784 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.5029, allocations: 44.03 kB / 0.7784 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001728/0.5031, allocations: 64.75 kB / 0.7785 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.5031, allocations: 7.984 kB / 0.7785 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.5046, allocations: 1.821 MB / 0.7803 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5046, allocations: 3.984 kB / 0.7803 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005454/0.5051, allocations: 436 kB / 0.7807 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.5053, allocations: 169.3 kB / 0.7808 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.654e-05/0.5054, allocations: 4 kB / 0.7808 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.5058, allocations: 23.17 kB / 0.7809 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.5059, allocations: 27.91 kB / 0.7809 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.5059, allocations: 16.36 kB / 0.7809 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003831/0.5063, allocations: 394.8 kB / 0.7813 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5063, allocations: 0 / 0.7813 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005043/0.5068, allocations: 207.6 kB / 0.7815 GB, free: 2.039 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.0009672/0.5078, allocations: 1.032 MB / 0.7825 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007697/0.5086, allocations: 0.5461 MB / 0.783 GB, free: 420 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5086, allocations: 0 / 0.783 GB, free: 420 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.5089, allocations: 256.3 kB / 0.7833 GB, free: 152 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.5104, allocations: 374.6 kB / 0.7836 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.5154, allocations: 4.543 MB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.5158, allocations: 0.9092 MB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003592/0.5161, allocations: 116.8 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.5163, allocations: 199.4 kB / 0.7893 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.5163, allocations: 0 / 0.7893 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.485/3.001, allocations: 17.64 MB / 0.8065 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/16.33, allocations: 8.578 kB / 0.8065 GB, free: 8.566 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)