Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006225/0.006225, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7446/0.7446, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009911/0.0009912, allocations: 97.11 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5131/0.5135, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.943/6.456, allocations: 2.129 GB / 2.778 GB, free: 62.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/6.457, allocations: 115 kB / 2.778 GB, free: 62.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.844/8.301, allocations: 487 MB / 3.254 GB, free: 112.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.373e-06/8.301, allocations: 0 / 3.254 GB, free: 112.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001081/8.301, allocations: 41.3 kB / 3.254 GB, free: 112.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003342/8.305, allocations: 1.767 MB / 3.256 GB, free: 111.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/8.305, allocations: 9.281 kB / 3.256 GB, free: 111.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000207/8.305, allocations: 163.7 kB / 3.256 GB, free: 111.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002836/8.308, allocations: 482.2 kB / 3.256 GB, free: 110.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/8.31, allocations: 1.353 MB / 3.258 GB, free: 110 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/8.31, allocations: 76.38 kB / 3.258 GB, free: 110 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/8.311, allocations: 103.5 kB / 3.258 GB, free: 110 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/8.312, allocations: 1.237 MB / 3.259 GB, free: 109.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/8.312, allocations: 3.984 kB / 3.259 GB, free: 109.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.952e-05/8.313, allocations: 39.3 kB / 3.259 GB, free: 109.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.992e-05/8.313, allocations: 37.41 kB / 3.259 GB, free: 109.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/8.314, allocations: 1.186 MB / 3.26 GB, free: 108.7 MB / 0.698 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.005641/8.32, allocations: 4.857 MB / 3.265 GB, free: 104.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/8.321, allocations: 0.9815 MB / 3.266 GB, free: 104.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/8.321, allocations: 202.8 kB / 3.266 GB, free: 103.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/8.321, allocations: 51.2 kB / 3.266 GB, free: 103.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.757e-06/8.321, allocations: 0 / 3.266 GB, free: 103.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.004615/8.326, allocations: 2.952 MB / 3.269 GB, free: 100.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/8.326, allocations: 60.06 kB / 3.269 GB, free: 100.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008894/8.327, allocations: 0.8628 MB / 3.27 GB, free: 99.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.717e-05/8.327, allocations: 45.7 kB / 3.27 GB, free: 99.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/8.327, allocations: 0.5312 MB / 3.271 GB, free: 99.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/8.327, allocations: 295.8 kB / 3.271 GB, free: 98.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/8.327, allocations: 20 kB / 3.271 GB, free: 98.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.834e-05/8.328, allocations: 337.9 kB / 3.271 GB, free: 98.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/8.328, allocations: 437.7 kB / 3.272 GB, free: 98.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/8.329, allocations: 0.6066 MB / 3.272 GB, free: 97.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/8.329, allocations: 0.5377 MB / 3.273 GB, free: 96.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/8.329, allocations: 4 kB / 3.273 GB, free: 96.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001542/8.331, allocations: 1.239 MB / 3.274 GB, free: 95.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001883/8.331, allocations: 1.047 MB / 3.275 GB, free: 94.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/8.331, allocations: 7.938 kB / 3.275 GB, free: 94.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/8.331, allocations: 76.8 kB / 3.275 GB, free: 94.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009045/8.332, allocations: 190.2 kB / 3.275 GB, free: 94.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/8.334, allocations: 3.006 MB / 3.278 GB, free: 91.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/8.335, allocations: 143.6 kB / 3.278 GB, free: 90.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/8.335, allocations: 28 kB / 3.278 GB, free: 90.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/8.335, allocations: 5.875 kB / 3.278 GB, free: 90.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001335/8.337, allocations: 1.121 MB / 3.279 GB, free: 89.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/8.337, allocations: 0 / 3.279 GB, free: 89.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/8.337, allocations: 77.09 kB / 3.279 GB, free: 89.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/8.337, allocations: 180.1 kB / 3.28 GB, free: 89.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/8.339, allocations: 1.831 MB / 3.281 GB, free: 87.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/8.34, allocations: 139.6 kB / 3.282 GB, free: 87.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/8.34, allocations: 32 kB / 3.282 GB, free: 87.44 MB / 0.698 GB 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008381/8.341, allocations: 0.602 MB / 3.282 GB, free: 86.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/8.341, allocations: 114.7 kB / 3.282 GB, free: 86.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/8.343, allocations: 1.181 MB / 3.283 GB, free: 85.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/8.343, allocations: 8 kB / 3.283 GB, free: 85.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/8.343, allocations: 4 kB / 3.283 GB, free: 85.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/8.344, allocations: 1.229 MB / 3.285 GB, free: 84.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/8.347, allocations: 2.792 MB / 3.287 GB, free: 81.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/8.348, allocations: 0 / 3.287 GB, free: 81.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/8.349, allocations: 252.3 kB / 3.288 GB, free: 81.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001717/8.349, allocations: 68.81 kB / 3.288 GB, free: 81.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/8.349, allocations: 27.98 kB / 3.288 GB, free: 81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/8.35, allocations: 3.01 MB / 3.291 GB, free: 77.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/8.35, allocations: 7.969 kB / 3.291 GB, free: 77.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/8.352, allocations: 2.022 MB / 3.293 GB, free: 75.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007172/8.353, allocations: 327.6 kB / 3.293 GB, free: 75.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/8.353, allocations: 23.98 kB / 3.293 GB, free: 75.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009569/8.354, allocations: 112.1 kB / 3.293 GB, free: 75.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/8.354, allocations: 64.47 kB / 3.293 GB, free: 75.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/8.354, allocations: 35.98 kB / 3.293 GB, free: 75.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007294/8.355, allocations: 0.6879 MB / 3.294 GB, free: 74.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/8.355, allocations: 0 / 3.294 GB, free: 74.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002122/8.357, allocations: 0.789 MB / 3.295 GB, free: 73.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003904/8.361, allocations: 4.363 MB / 3.299 GB, free: 69.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002482/8.364, allocations: 1.858 MB / 3.301 GB, free: 67.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/8.364, allocations: 4 kB / 3.301 GB, free: 67.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007045/8.364, allocations: 0.6739 MB / 3.301 GB, free: 66.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/8.367, allocations: 0.7767 MB / 3.302 GB, free: 65.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/8.38, allocations: 10.24 MB / 3.312 GB, free: 55.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009287/8.381, allocations: 1.452 MB / 3.314 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001904/8.382, allocations: 0.6845 MB / 3.314 GB, free: 53.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006172/8.383, allocations: 459.3 kB / 3.315 GB, free: 52.63 MB / 0.698 GB Notification: Performance of SimCode: time 7.81e-07/8.383, allocations: 0 / 3.315 GB, free: 52.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07922/8.462, allocations: 58.31 MB / 3.372 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/8.463, allocations: 264.3 kB / 3.372 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.746/12.21, allocations: 0 / 3.372 GB, free: 10.4 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)