Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001722/0.001722, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 293.2 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9597/0.9597, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001906, allocations: 95.27 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.161, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4724/0.6334, allocations: 209.9 MB / 0.8865 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.6477, allocations: 9.875 MB / 0.8962 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.6495, allocations: 59.69 kB / 0.8962 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.6516, allocations: 0.7687 MB / 0.897 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006607/0.6582, allocations: 2.808 MB / 0.8997 GB, free: 14.89 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.6618, allocations: 1.388 MB / 0.9011 GB, free: 13.51 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005159/0.667, allocations: 4.067 MB / 0.9051 GB, free: 9.434 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001758/0.6688, allocations: 1.337 MB / 0.9064 GB, free: 8.066 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.6712, allocations: 1.35 MB / 0.9077 GB, free: 6.711 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.6735, allocations: 1.229 MB / 0.9089 GB, free: 5.488 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003156/0.6738, allocations: 144 kB / 0.909 GB, free: 5.348 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004679/0.6785, allocations: 2.393 MB / 0.9114 GB, free: 2.949 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007953/0.6793, allocations: 0.6039 MB / 0.9119 GB, free: 2.344 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.6807, allocations: 0.8595 MB / 0.9128 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004808/0.6855, allocations: 3.007 MB / 0.9157 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.6855, allocations: 7.875 kB / 0.9157 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6856, allocations: 0 / 0.9157 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.551e-05/0.6856, allocations: 0 / 0.9157 GB, free: 14.46 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003542/0.6892, allocations: 1.901 MB / 0.9176 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.6892, allocations: 8.031 kB / 0.9176 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/0.6924, allocations: 489.7 kB / 0.9181 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.6946, allocations: 1.12 MB / 0.9192 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/0.6947, allocations: 86.14 kB / 0.9192 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.6949, allocations: 112 kB / 0.9193 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.6972, allocations: 1.157 MB / 0.9205 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.6973, allocations: 7.922 kB / 0.9205 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.6974, allocations: 51.94 kB / 0.9205 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.04e-05/0.6975, allocations: 38.14 kB / 0.9206 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.6993, allocations: 1.074 MB / 0.9216 GB, free: 8.281 MB / 0.6856 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.006084/0.7054, allocations: 4.184 MB / 0.9257 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.7066, allocations: 0.7856 MB / 0.9265 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006505/0.7073, allocations: 490.7 kB / 0.9269 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/0.7077, allocations: 292.3 kB / 0.9272 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.7077, allocations: 51.55 kB / 0.9273 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=83): time 2.174e-06/0.7077, allocations: 0 / 0.9273 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of matching and sorting (n=89): time 0.005473/0.7132, allocations: 2.84 MB / 0.93 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.7133, allocations: 60.41 kB / 0.9301 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.7145, allocations: 0.9754 MB / 0.931 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.7146, allocations: 49.7 kB / 0.9311 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/0.715, allocations: 0.5395 MB / 0.9316 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.7153, allocations: 311.4 kB / 0.9319 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.7156, allocations: 154.6 kB / 0.9321 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7157, allocations: 341.9 kB / 0.9324 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.7162, allocations: 341.8 kB / 0.9327 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.7169, allocations: 485.9 kB / 0.9332 GB, free: 11.91 MB / 0.7012 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005913/0.7228, allocations: 3.047 MB / 0.9362 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.7228, allocations: 0 / 0.9362 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001608/0.7244, allocations: 1.015 MB / 0.9371 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.7245, allocations: 11.94 kB / 0.9372 GB, free: 7.734 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.7245, allocations: 0 / 0.9372 GB, free: 7.734 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.7245, allocations: 8 kB / 0.9372 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007448/0.7253, allocations: 183.7 kB / 0.9373 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.7253, allocations: 12.38 kB / 0.9374 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7263, allocations: 27.98 kB / 0.9374 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.7264, allocations: 32 kB / 0.9374 GB, free: 7.477 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005968/0.727, allocations: 386.5 kB / 0.9378 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.7272, allocations: 130.4 kB / 0.9379 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.7275, allocations: 148.3 kB / 0.938 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.7275, allocations: 8 kB / 0.9381 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.7275, allocations: 0 / 0.9381 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001479/0.729, allocations: 1.098 MB / 0.9391 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004776/0.7338, allocations: 3.051 MB / 0.9421 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.7338, allocations: 8 kB / 0.9421 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/0.7345, allocations: 163.7 kB / 0.9423 GB, free: 2.234 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003504/0.7349, allocations: 98.19 kB / 0.9424 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.265e-05/0.735, allocations: 32 kB / 0.9424 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.7374, allocations: 3.09 MB / 0.9454 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.7374, allocations: 12.95 kB / 0.9454 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.7398, allocations: 1.745 MB / 0.9471 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006711/0.7405, allocations: 307.5 kB / 0.9474 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.7407, allocations: 28 kB / 0.9474 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009025/0.7416, allocations: 47.06 kB / 0.9475 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.7417, allocations: 88.11 kB / 0.9476 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.601e-05/0.7418, allocations: 43.98 kB / 0.9476 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009334/0.7427, allocations: 0.6956 MB / 0.9483 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7428, allocations: 0 / 0.9483 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001079/0.7438, allocations: 372 kB / 0.9487 GB, free: 11.25 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004999/0.7443, allocations: 238.2 kB / 0.9489 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.7457, allocations: 0.848 MB / 0.9497 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7457, allocations: 0 / 0.9497 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009227/0.7466, allocations: 0.6652 MB / 0.9504 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003673/0.7503, allocations: 0.929 MB / 0.9513 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.7542, allocations: 2.779 MB / 0.954 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008191/0.755, allocations: 1.245 MB / 0.9552 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001141/0.7561, allocations: 351 kB / 0.9555 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.7564, allocations: 99.44 kB / 0.9556 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/0.7564, allocations: 0 / 0.9556 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of Templates: time 0.29/1.046, allocations: 28.33 MB / 0.9833 GB, free: 240.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)