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.005355/0.005355, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001463/0.001463, allocations: 189.5 kB / 16.67 MB, free: 5.934 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002396/0.002396, allocations: 296.9 kB / 290.8 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9319/0.9319, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002565/0.002565, allocations: 96.06 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3583, allocations: 86.97 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5404/0.8987, allocations: 209.9 MB / 0.9709 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.9093, allocations: 9.881 MB / 0.9805 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.9105, allocations: 61.39 kB / 0.9806 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.9119, allocations: 0.7668 MB / 0.9813 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00458/0.9165, allocations: 2.816 MB / 0.9841 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.9189, allocations: 1.377 MB / 0.9854 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002947/0.9219, allocations: 4.061 MB / 0.9894 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.9231, allocations: 1.322 MB / 0.9907 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.9245, allocations: 1.369 MB / 0.992 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.9261, allocations: 1.235 MB / 0.9932 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.9263, allocations: 142.6 kB / 0.9934 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.9295, allocations: 2.388 MB / 0.9957 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004316/0.9299, allocations: 0.6048 MB / 0.9963 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007616/0.9307, allocations: 0.8514 MB / 0.9971 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.9336, allocations: 3.028 MB / 1 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9336, allocations: 6.094 kB / 1 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9336, allocations: 1.094 kB / 1 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.9336, allocations: 0 / 1 GB, free: 1.039 MB / 0.7169 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.002326/0.936, allocations: 1.939 MB / 1.002 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.936, allocations: 11.84 kB / 1.002 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.9362, allocations: 171.2 kB / 1.002 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/0.939, allocations: 494 kB / 1.003 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.9405, allocations: 1.15 MB / 1.004 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.9405, allocations: 82.33 kB / 1.004 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.9407, allocations: 110.4 kB / 1.004 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.9422, allocations: 1.148 MB / 1.005 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.9422, allocations: 5.625 kB / 1.005 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.9423, allocations: 57.52 kB / 1.005 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/0.9424, allocations: 36.86 kB / 1.005 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.9437, allocations: 1.075 MB / 1.006 GB, free: 15.43 MB / 0.7325 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.004766/0.9484, allocations: 4.202 MB / 1.01 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009943/0.9495, allocations: 0.7838 MB / 1.011 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/0.95, allocations: 491.5 kB / 1.012 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003826/0.9504, allocations: 300.5 kB / 1.012 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.9504, allocations: 46.84 kB / 1.012 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=83): time 2.114e-06/0.9504, allocations: 0.9062 kB / 1.012 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=89): time 0.004407/0.9548, allocations: 2.862 MB / 1.015 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.9549, allocations: 67.75 kB / 1.015 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008896/0.9558, allocations: 0.9648 MB / 1.016 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/0.9559, allocations: 47.8 kB / 1.016 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.9562, allocations: 0.5496 MB / 1.016 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.9565, allocations: 329.7 kB / 1.017 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.9567, allocations: 158.6 kB / 1.017 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9568, allocations: 339.4 kB / 1.017 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.9572, allocations: 339.7 kB / 1.017 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.9578, allocations: 492.8 kB / 1.018 GB, free: 11.55 MB / 0.7325 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.00511/0.9629, allocations: 3.037 MB / 1.021 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9629, allocations: 0 / 1.021 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001217/0.9641, allocations: 1.021 MB / 1.022 GB, free: 11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.9641, allocations: 8.812 kB / 1.022 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9642, allocations: 3.5 kB / 1.022 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.9642, allocations: 8.5 kB / 1.022 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.9648, allocations: 180.2 kB / 1.022 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.9649, allocations: 7.047 kB / 1.022 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008397/0.9657, allocations: 33.22 kB / 1.022 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/0.9658, allocations: 32.19 kB / 1.022 GB, free: 10.99 MB / 0.7325 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.000437/0.9662, allocations: 375.9 kB / 1.022 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.9664, allocations: 140.5 kB / 1.023 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.9666, allocations: 148 kB / 1.023 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.9667, allocations: 15.03 kB / 1.023 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.9667, allocations: 3.938 kB / 1.023 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001308/0.968, allocations: 1.094 MB / 1.024 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/0.9718, allocations: 3.045 MB / 1.027 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.9718, allocations: 8.312 kB / 1.027 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.9725, allocations: 166.7 kB / 1.027 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002746/0.9728, allocations: 98.06 kB / 1.027 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/0.9728, allocations: 31.39 kB / 1.027 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.9752, allocations: 3.095 MB / 1.03 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/0.9752, allocations: 11.47 kB / 1.03 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.9773, allocations: 1.741 MB / 1.032 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/0.9777, allocations: 308 kB / 1.032 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.9779, allocations: 38.12 kB / 1.032 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009206/0.9788, allocations: 49.44 kB / 1.032 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.9789, allocations: 84.05 kB / 1.032 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.979, allocations: 56.64 kB / 1.032 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007389/0.9797, allocations: 0.6938 MB / 1.033 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9797, allocations: 0 / 1.033 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001026/0.9808, allocations: 375.2 kB / 1.033 GB, free: 5.277 MB / 0.7325 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.002672/0.9835, allocations: 2.418 MB / 1.036 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.9846, allocations: 0.8456 MB / 1.036 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.9846, allocations: 6.719 kB / 1.037 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000799/0.9854, allocations: 0.6672 MB / 1.037 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/0.9889, allocations: 0.9201 MB / 1.038 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/1.001, allocations: 9.798 MB / 1.048 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009695/1.002, allocations: 1.249 MB / 1.049 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001002/1.003, allocations: 335 kB / 1.049 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006368/1.004, allocations: 479.3 kB / 1.05 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of SimCode: time 4e-07/1.004, allocations: 0 / 1.05 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07405/1.078, allocations: 38.44 MB / 1.087 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.72, allocations: 14.16 kB / 1.087 GB, free: 3.09 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)