Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.0007423/0.0007423, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004269/0.004269, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8912/0.8912, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 11.98 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4119/0.5471, allocations: 185.8 MB / 0.7696 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008341/0.5555, allocations: 5.72 MB / 0.7751 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006342/0.5562, allocations: 39.75 kB / 0.7752 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.5573, allocations: 0.4974 MB / 0.7757 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.5607, allocations: 1.731 MB / 0.7774 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.563, allocations: 1.077 MB / 0.7784 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003492/0.5665, allocations: 4.095 MB / 0.7824 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008999/0.5674, allocations: 0.7718 MB / 0.7832 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.5685, allocations: 0.8672 MB / 0.784 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.57, allocations: 0.9223 MB / 0.7849 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-05/0.5701, allocations: 40 kB / 0.7849 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.5724, allocations: 1.625 MB / 0.7865 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000345/0.5727, allocations: 386.8 kB / 0.7869 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005305/0.5732, allocations: 0.5964 MB / 0.7875 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.5752, allocations: 2.134 MB / 0.7896 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5752, allocations: 0 / 0.7896 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5753, allocations: 0 / 0.7896 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.5753, allocations: 0 / 0.7896 GB, free: 13.98 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001924/0.5772, allocations: 1.297 MB / 0.7908 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.5772, allocations: 15.97 kB / 0.7909 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.5774, allocations: 135.2 kB / 0.791 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.5793, allocations: 318.2 kB / 0.7913 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.5804, allocations: 0.8162 MB / 0.7921 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.733e-05/0.5804, allocations: 69.92 kB / 0.7921 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.5806, allocations: 84 kB / 0.7922 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.582, allocations: 0.917 MB / 0.7931 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.5821, allocations: 0 / 0.7931 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/0.5822, allocations: 40 kB / 0.7932 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.5822, allocations: 30 kB / 0.7932 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.5836, allocations: 0.8354 MB / 0.794 GB, free: 9.324 MB / 0.6075 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.004927/0.5886, allocations: 3.533 MB / 0.7975 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007353/0.5893, allocations: 0.5044 MB / 0.7979 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/0.5898, allocations: 306.7 kB / 0.7982 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.5899, allocations: 105.5 kB / 0.7983 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.59, allocations: 39 kB / 0.7984 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.603e-06/0.59, allocations: 0 / 0.7984 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.003647/0.5936, allocations: 1.942 MB / 0.8003 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.5937, allocations: 55.84 kB / 0.8003 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000887/0.5946, allocations: 0.8057 MB / 0.8011 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.5946, allocations: 37.7 kB / 0.8012 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.595, allocations: 475.4 kB / 0.8016 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.5951, allocations: 177.5 kB / 0.8018 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.5952, allocations: 57.69 kB / 0.8018 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5953, allocations: 329.9 kB / 0.8021 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.5957, allocations: 245.2 kB / 0.8024 GB, free: 356 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.5962, allocations: 371 kB / 0.8027 GB, free: 15.95 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003658/0.5999, allocations: 1.562 MB / 0.8043 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5999, allocations: 4 kB / 0.8043 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001238/0.6012, allocations: 0.7845 MB / 0.805 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.6012, allocations: 8 kB / 0.805 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.6012, allocations: 4 kB / 0.805 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.6015, allocations: 102 kB / 0.8051 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.6021, allocations: 147.8 kB / 0.8053 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.6047, allocations: 3.076 MB / 0.8083 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/0.6055, allocations: 55.88 kB / 0.8083 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.6055, allocations: 24 kB / 0.8084 GB, free: 9.859 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * 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,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003564/0.6059, allocations: 303.8 kB / 0.8086 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.606, allocations: 94.88 kB / 0.8087 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.6062, allocations: 104.7 kB / 0.8088 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6062, allocations: 7.938 kB / 0.8088 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6062, allocations: 0 / 0.8088 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001004/0.6072, allocations: 0.8543 MB / 0.8097 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.6098, allocations: 1.805 MB / 0.8114 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.6099, allocations: 4 kB / 0.8114 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/0.6105, allocations: 148.2 kB / 0.8116 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/0.6107, allocations: 72.98 kB / 0.8117 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.6108, allocations: 12 kB / 0.8117 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.6122, allocations: 1.644 MB / 0.8133 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6122, allocations: 7.984 kB / 0.8133 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.6137, allocations: 1.107 MB / 0.8144 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.614, allocations: 239.9 kB / 0.8146 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.6141, allocations: 11.98 kB / 0.8146 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/0.6149, allocations: 65.12 kB / 0.8147 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-05/0.615, allocations: 43.88 kB / 0.8147 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/0.615, allocations: 31.98 kB / 0.8147 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005934/0.6156, allocations: 0.5654 MB / 0.8153 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6156, allocations: 3.938 kB / 0.8153 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007045/0.6163, allocations: 284 kB / 0.8156 GB, free: 2.07 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (45): * Single equations (assignments): 44 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001831/0.6182, allocations: 1.735 MB / 0.8173 GB, free: 284 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.6193, allocations: 0.8137 MB / 0.8181 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6193, allocations: 4.688 kB / 0.8181 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005154/0.6198, allocations: 418.9 kB / 0.8185 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/0.6226, allocations: 0.5829 MB / 0.819 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008799/0.6314, allocations: 7.729 MB / 0.8266 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.6319, allocations: 1.084 MB / 0.8276 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006602/0.6326, allocations: 213.6 kB / 0.8278 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/0.633, allocations: 351.3 kB / 0.8282 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.633, allocations: 0 / 0.8282 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2909/0.9239, allocations: 26.5 MB / 0.854 GB, free: 10.67 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/0.9242, allocations: 282.5 kB / 0.8543 GB, free: 10.29 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.246, allocations: 3.5 kB / 0.8543 GB, free: 10.29 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)