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.0007992/0.0007994, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004887/0.004887, allocations: 173.5 kB / 16.27 MB, free: 6.613 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7488/0.7488, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003139, allocations: 9.469 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4244, allocations: 81.58 MB / 0.5837 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1726/0.5971, allocations: 166.6 MB / 0.7464 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006558/0.6037, allocations: 4.297 MB / 0.7506 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006208/0.6043, allocations: 19.88 kB / 0.7506 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000869/0.6052, allocations: 306.5 kB / 0.7509 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.6079, allocations: 1.148 MB / 0.7521 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.6097, allocations: 0.7224 MB / 0.7528 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.6121, allocations: 2.347 MB / 0.7551 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006662/0.6128, allocations: 477.7 kB / 0.7555 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009828/0.6138, allocations: 0.5795 MB / 0.7561 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.6148, allocations: 0.5586 MB / 0.7566 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.593e-05/0.6149, allocations: 24 kB / 0.7566 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.6165, allocations: 0.9078 MB / 0.7575 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.6167, allocations: 231.3 kB / 0.7578 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003746/0.6171, allocations: 392 kB / 0.7581 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.6186, allocations: 1.265 MB / 0.7594 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6186, allocations: 0 / 0.7594 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6187, allocations: 0 / 0.7594 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.6187, allocations: 0 / 0.7594 GB, free: 11.85 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.00157/0.6202, allocations: 0.904 MB / 0.7602 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6203, allocations: 8.031 kB / 0.7603 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.6204, allocations: 102.5 kB / 0.7604 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009438/0.6214, allocations: 163 kB / 0.7605 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006875/0.6221, allocations: 0.5171 MB / 0.761 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.6221, allocations: 41.31 kB / 0.7611 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.67e-05/0.6222, allocations: 51.94 kB / 0.7611 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.6233, allocations: 0.6636 MB / 0.7617 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.6233, allocations: 0 / 0.7617 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.6234, allocations: 20 kB / 0.7618 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/0.6234, allocations: 29.31 kB / 0.7618 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.6243, allocations: 0.5243 MB / 0.7623 GB, free: 8.715 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.003029/0.6273, allocations: 2.305 MB / 0.7646 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/0.6279, allocations: 262.8 kB / 0.7648 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.6281, allocations: 152.5 kB / 0.765 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.6282, allocations: 7.984 kB / 0.765 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.6282, allocations: 38.5 kB / 0.765 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.6282, allocations: 0 / 0.765 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20): time 0.001611/0.6298, allocations: 0.6867 MB / 0.7657 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.6299, allocations: 85.05 kB / 0.7657 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.6305, allocations: 0.5613 MB / 0.7663 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.6305, allocations: 37.7 kB / 0.7663 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.6307, allocations: 327.4 kB / 0.7666 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.6308, allocations: 67.02 kB / 0.7667 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.6309, allocations: 33.7 kB / 0.7667 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.631, allocations: 358.8 kB / 0.7671 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.6313, allocations: 140.5 kB / 0.7672 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.6316, allocations: 228.1 kB / 0.7674 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/0.6321, allocations: 348.3 kB / 0.7678 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6321, allocations: 0 / 0.7678 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008833/0.633, allocations: 0.4966 MB / 0.7683 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.633, allocations: 11.98 kB / 0.7683 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6331, allocations: 4.219 kB / 0.7683 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/0.6334, allocations: 101.6 kB / 0.7684 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.6337, allocations: 67.91 kB / 0.7684 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.6363, allocations: 3.107 MB / 0.7715 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.6369, allocations: 71.5 kB / 0.7715 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.6369, allocations: 12 kB / 0.7715 GB, free: 14.62 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.0002592/0.6372, allocations: 217.7 kB / 0.7718 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-05/0.6373, allocations: 59.33 kB / 0.7718 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.787e-05/0.6374, allocations: 56.5 kB / 0.7719 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.6374, allocations: 8 kB / 0.7719 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.6374, allocations: 0 / 0.7719 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007088/0.6381, allocations: 0.5439 MB / 0.7724 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.6393, allocations: 0.9281 MB / 0.7733 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6393, allocations: 4 kB / 0.7733 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.6396, allocations: 44.03 kB / 0.7734 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.6398, allocations: 64.75 kB / 0.7734 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.6398, allocations: 8 kB / 0.7734 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.6413, allocations: 1.683 MB / 0.7751 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6413, allocations: 7.922 kB / 0.7751 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.6419, allocations: 445.3 kB / 0.7755 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.6421, allocations: 172.3 kB / 0.7757 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.6422, allocations: 4 kB / 0.7757 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.6426, allocations: 36.62 kB / 0.7757 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.6427, allocations: 15.97 kB / 0.7757 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.6428, allocations: 15.94 kB / 0.7757 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004292/0.6432, allocations: 406.8 kB / 0.7761 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.663e-06/0.6432, allocations: 0 / 0.7761 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006745/0.6439, allocations: 211.6 kB / 0.7763 GB, free: 9.395 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.00117/0.6451, allocations: 1.038 MB / 0.7773 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008819/0.646, allocations: 0.5402 MB / 0.7779 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.646, allocations: 4 kB / 0.7779 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.6464, allocations: 263.2 kB / 0.7781 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.6481, allocations: 366.5 kB / 0.7785 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006054/0.6542, allocations: 4.795 MB / 0.7831 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.6546, allocations: 0.9054 MB / 0.784 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004651/0.6551, allocations: 116.8 kB / 0.7841 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.6554, allocations: 187.4 kB / 0.7843 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of SimCode: time 9.41e-07/0.6554, allocations: 0 / 0.7843 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.554/1.209, allocations: 16.71 MB / 0.8006 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/1.21, allocations: 275.2 kB / 0.8009 GB, free: 304 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/3.463, allocations: 0 / 0.8009 GB, free: 304 kB / 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)