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.001336/0.001336, allocations: 172.4 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7558/0.7558, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001045/0.001045, allocations: 105 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.051e-05, allocations: 4 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5559/0.5559, allocations: 82.29 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.656/7.212, allocations: 2.128 GB / 2.762 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/7.213, allocations: 97.58 kB / 2.762 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.898/9.111, allocations: 481.2 MB / 3.232 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.353e-06/9.111, allocations: 0 / 3.232 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001275/9.111, allocations: 41.34 kB / 3.232 GB, free: 144.5 MB / 0.6823 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.003156/9.114, allocations: 1.517 MB / 3.233 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/9.114, allocations: 14.12 kB / 3.233 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/9.117, allocations: 491 kB / 3.234 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/9.12, allocations: 1.334 MB / 3.235 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/9.12, allocations: 27.81 kB / 3.235 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/9.12, allocations: 68.12 kB / 3.235 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001717/9.122, allocations: 1.113 MB / 3.236 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/9.123, allocations: 1.083 MB / 3.237 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/9.123, allocations: 0 / 3.237 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.763e-05/9.124, allocations: 10.05 kB / 3.237 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/9.124, allocations: 35.16 kB / 3.238 GB, free: 143.5 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.005769/9.129, allocations: 4.659 MB / 3.242 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/9.13, allocations: 0.9303 MB / 3.243 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/9.131, allocations: 0.5359 MB / 3.244 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/9.131, allocations: 202.5 kB / 3.244 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/9.131, allocations: 42.22 kB / 3.244 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 2.434e-06/9.131, allocations: 0 / 3.244 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81): time 0.004154/9.136, allocations: 2.438 MB / 3.246 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/9.136, allocations: 59.53 kB / 3.246 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007835/9.136, allocations: 0.7658 MB / 3.247 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/9.136, allocations: 28.98 kB / 3.247 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/9.137, allocations: 0.5303 MB / 3.247 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/9.137, allocations: 290.7 kB / 3.248 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/9.137, allocations: 0 / 3.248 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.92e-05/9.137, allocations: 335.5 kB / 3.248 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/9.138, allocations: 410.9 kB / 3.248 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005478/9.138, allocations: 0.5817 MB / 3.249 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005857/9.139, allocations: 0.5202 MB / 3.25 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/9.139, allocations: 0 / 3.25 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001411/9.14, allocations: 1.153 MB / 3.251 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/9.14, allocations: 1.059 MB / 3.252 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/9.14, allocations: 3.5 kB / 3.252 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/9.141, allocations: 70.22 kB / 3.252 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009411/9.142, allocations: 195.3 kB / 3.252 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/9.143, allocations: 2.938 MB / 3.255 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/9.145, allocations: 125 kB / 3.255 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-05/9.145, allocations: 32.84 kB / 3.255 GB, free: 136 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/9.145, allocations: 6.672 kB / 3.255 GB, free: 136 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001258/9.146, allocations: 1.015 MB / 3.256 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/9.146, allocations: 2.875 kB / 3.256 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/9.146, allocations: 71.59 kB / 3.256 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/9.147, allocations: 177.1 kB / 3.256 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/9.148, allocations: 1.75 MB / 3.258 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/9.149, allocations: 117.2 kB / 3.258 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/9.149, allocations: 35.62 kB / 3.258 GB, free: 134.6 MB / 0.6823 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 () * 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.0002128/9.15, allocations: 123.3 kB / 3.258 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001351/9.151, allocations: 1.023 MB / 3.259 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/9.151, allocations: 109.1 kB / 3.259 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/9.153, allocations: 1.103 MB / 3.26 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/9.153, allocations: 5.906 kB / 3.26 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/9.153, allocations: 3.5 kB / 3.26 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/9.154, allocations: 1.172 MB / 3.262 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/9.157, allocations: 2.58 MB / 3.264 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/9.157, allocations: 3.938 kB / 3.264 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/9.158, allocations: 241.8 kB / 3.264 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001671/9.158, allocations: 69.39 kB / 3.264 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-05/9.158, allocations: 14.88 kB / 3.264 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/9.16, allocations: 2.919 MB / 3.267 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/9.16, allocations: 10.91 kB / 3.267 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/9.162, allocations: 1.952 MB / 3.269 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005436/9.163, allocations: 319.8 kB / 3.269 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/9.163, allocations: 9.078 kB / 3.269 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009479/9.164, allocations: 99.8 kB / 3.27 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/9.164, allocations: 64.64 kB / 3.27 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/9.164, allocations: 30.89 kB / 3.27 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008028/9.165, allocations: 0.6068 MB / 3.27 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/9.165, allocations: 0 / 3.27 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002592/9.167, allocations: 0.719 MB / 3.271 GB, free: 130.4 MB / 0.6823 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 () * 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.004689/9.172, allocations: 4.449 MB / 3.275 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002506/9.175, allocations: 1.801 MB / 3.277 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/9.175, allocations: 3.781 kB / 3.277 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007179/9.175, allocations: 0.6377 MB / 3.278 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/9.179, allocations: 0.7388 MB / 3.278 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/9.184, allocations: 2.953 MB / 3.281 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008106/9.184, allocations: 1.451 MB / 3.283 GB, free: 127 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002425/9.187, allocations: 0.9621 MB / 3.284 GB, free: 127 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/9.187, allocations: 440.6 kB / 3.284 GB, free: 127 MB / 0.6823 GB Notification: Performance of SimCode: time 2.144e-06/9.187, allocations: 0 / 3.284 GB, free: 127 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08132/9.269, allocations: 46.62 MB / 3.33 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/9.269, allocations: 188 kB / 3.33 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.554/12.82, allocations: 0 / 3.33 GB, free: 123.1 MB / 0.6823 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)