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: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001227/0.001227, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002347/0.002347, allocations: 287 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9666/0.9666, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 102.6 kB / 0.5953 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1393, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4507/0.59, allocations: 209.9 MB / 0.8852 GB, free: 308 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01387/0.6039, allocations: 9.882 MB / 0.8949 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.6051, allocations: 57.69 kB / 0.8949 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.6068, allocations: 0.7676 MB / 0.8957 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005574/0.6124, allocations: 2.807 MB / 0.8984 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.6154, allocations: 1.373 MB / 0.8998 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004118/0.6195, allocations: 4.069 MB / 0.9037 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.6211, allocations: 1.324 MB / 0.905 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.6233, allocations: 1.35 MB / 0.9064 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.6255, allocations: 1.229 MB / 0.9076 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.6258, allocations: 144 kB / 0.9077 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004533/0.6303, allocations: 2.381 MB / 0.91 GB, free: 12 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006455/0.631, allocations: 0.6078 MB / 0.9106 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009884/0.632, allocations: 0.8556 MB / 0.9114 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004318/0.6363, allocations: 2.984 MB / 0.9144 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6363, allocations: 0 / 0.9144 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6363, allocations: 0 / 0.9144 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.687e-05/0.6363, allocations: 4 kB / 0.9144 GB, free: 7.535 MB / 0.6231 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.002899/0.6392, allocations: 1.905 MB / 0.9162 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.6393, allocations: 16.02 kB / 0.9162 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002129/0.6395, allocations: 164.8 kB / 0.9164 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003001/0.6425, allocations: 489.7 kB / 0.9169 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.6442, allocations: 1.061 MB / 0.9179 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.6443, allocations: 82.14 kB / 0.918 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.6444, allocations: 112 kB / 0.9181 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.6463, allocations: 1.153 MB / 0.9192 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.6464, allocations: 11.94 kB / 0.9192 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.6465, allocations: 40 kB / 0.9193 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-05/0.6465, allocations: 50.12 kB / 0.9193 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.6482, allocations: 1.07 MB / 0.9204 GB, free: 1.242 MB / 0.6231 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.005771/0.654, allocations: 4.239 MB / 0.9245 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.6552, allocations: 0.7933 MB / 0.9253 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006744/0.6559, allocations: 486.8 kB / 0.9257 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004223/0.6564, allocations: 292.3 kB / 0.926 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.6564, allocations: 51.77 kB / 0.9261 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 2.485e-06/0.6564, allocations: 0 / 0.9261 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.005445/0.6619, allocations: 2.844 MB / 0.9288 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.6619, allocations: 64.41 kB / 0.9289 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.6631, allocations: 0.9755 MB / 0.9299 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.6632, allocations: 41.7 kB / 0.9299 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.6636, allocations: 0.5473 MB / 0.9304 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.6639, allocations: 303.5 kB / 0.9307 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/0.6642, allocations: 158.6 kB / 0.9309 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6644, allocations: 341.9 kB / 0.9312 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005222/0.6649, allocations: 337.8 kB / 0.9315 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006655/0.6656, allocations: 493.9 kB / 0.932 GB, free: 4.797 MB / 0.6387 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.006014/0.6716, allocations: 3.049 MB / 0.935 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.6716, allocations: 4 kB / 0.935 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001559/0.6732, allocations: 1.015 MB / 0.936 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.6732, allocations: 4 kB / 0.936 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6732, allocations: 4 kB / 0.936 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.6732, allocations: 8.375 kB / 0.936 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/0.674, allocations: 187.7 kB / 0.9362 GB, free: 448 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.674, allocations: 4 kB / 0.9362 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008769/0.6749, allocations: 31.98 kB / 0.9362 GB, free: 412 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.6749, allocations: 28 kB / 0.9362 GB, free: 384 kB / 0.6387 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.0005348/0.6755, allocations: 385.1 kB / 0.9366 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.6757, allocations: 130.4 kB / 0.9367 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.676, allocations: 148.3 kB / 0.9368 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.676, allocations: 16 kB / 0.9369 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.676, allocations: 0 / 0.9369 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001526/0.6775, allocations: 1.09 MB / 0.9379 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004642/0.6822, allocations: 3.054 MB / 0.9409 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.6822, allocations: 8 kB / 0.9409 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006723/0.6829, allocations: 164.6 kB / 0.9411 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003209/0.6832, allocations: 101.7 kB / 0.9412 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.6833, allocations: 28 kB / 0.9412 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/0.6859, allocations: 3.09 MB / 0.9442 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-05/0.6859, allocations: 15.94 kB / 0.9442 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.6883, allocations: 1.737 MB / 0.9459 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000473/0.6888, allocations: 303.5 kB / 0.9462 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.689, allocations: 39.86 kB / 0.9463 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008616/0.6898, allocations: 41.61 kB / 0.9463 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.69, allocations: 88.11 kB / 0.9464 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/0.6901, allocations: 43.98 kB / 0.9464 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008845/0.6909, allocations: 0.6956 MB / 0.9471 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.691, allocations: 0 / 0.9471 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001005/0.692, allocations: 376 kB / 0.9475 GB, free: 4.148 MB / 0.6544 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.00301/0.695, allocations: 2.398 MB / 0.9498 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.6966, allocations: 0.9605 MB / 0.9507 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.6966, allocations: 4 kB / 0.9507 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009361/0.6975, allocations: 0.6775 MB / 0.9514 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/0.7013, allocations: 0.9281 MB / 0.9523 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.7145, allocations: 10.29 MB / 0.9624 GB, free: 4.121 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009088/0.7154, allocations: 1.245 MB / 0.9636 GB, free: 2.848 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001279/0.7167, allocations: 339 kB / 0.9639 GB, free: 2.512 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006389/0.7173, allocations: 475.3 kB / 0.9644 GB, free: 2.047 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/0.7173, allocations: 0 / 0.9644 GB, free: 2.047 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07404/0.7914, allocations: 38.22 MB / 1.002 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.774/10.57, allocations: 0 / 1.002 GB, free: 12.43 MB / 0.7169 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)