Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 211.5 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.344/1.344, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002472/0.002472, allocations: 296.1 kB / 312.7 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.177/1.177, allocations: 180.6 MB / 0.5369 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 95.11 kB / 0.7396 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1602, allocations: 95.39 MB / 0.8327 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5946/0.7548, allocations: 174.4 MB / 1.003 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00553/0.7603, allocations: 3.416 MB / 1.006 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007145/0.761, allocations: 33.31 kB / 1.006 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009382/0.762, allocations: 335.7 kB / 1.007 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.7644, allocations: 1.065 MB / 1.008 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.766, allocations: 0.6896 MB / 1.008 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002274/0.7683, allocations: 1.575 MB / 1.01 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000621/0.7689, allocations: 375.1 kB / 1.01 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.77, allocations: 0.6073 MB / 1.011 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.771, allocations: 0.4952 MB / 1.011 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.092e-05/0.7711, allocations: 53.22 kB / 1.012 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.7728, allocations: 0.8994 MB / 1.012 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.773, allocations: 249.3 kB / 1.013 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.7733, allocations: 337.5 kB / 1.013 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.7747, allocations: 1.141 MB / 1.014 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7747, allocations: 0.7812 kB / 1.014 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7747, allocations: 0 / 1.014 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.7747, allocations: 1.969 kB / 1.014 GB, free: 3.203 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001409/0.7762, allocations: 0.8575 MB / 1.015 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7762, allocations: 10.94 kB / 1.015 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.811e-05/0.7763, allocations: 82.22 kB / 1.015 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.7774, allocations: 178.2 kB / 1.015 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007695/0.7781, allocations: 472.6 kB / 1.016 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.7782, allocations: 35.28 kB / 1.016 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.7782, allocations: 43.78 kB / 1.016 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.7789, allocations: 469.5 kB / 1.016 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.7789, allocations: 5.125 kB / 1.016 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/0.779, allocations: 18.75 kB / 1.016 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.779, allocations: 18.58 kB / 1.016 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005697/0.7796, allocations: 419.1 kB / 1.017 GB, free: 18.39 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.002237/0.7818, allocations: 1.686 MB / 1.018 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.7822, allocations: 288.3 kB / 1.018 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.7824, allocations: 167.8 kB / 1.019 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.7825, allocations: 22.2 kB / 1.019 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.7826, allocations: 37.94 kB / 1.019 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.7826, allocations: 0.875 kB / 1.019 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.001618/0.7842, allocations: 1.005 MB / 1.02 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.7842, allocations: 54.66 kB / 1.02 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.7846, allocations: 456.8 kB / 1.02 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.7847, allocations: 36.58 kB / 1.02 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.7848, allocations: 254.8 kB / 1.02 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.7849, allocations: 124.1 kB / 1.021 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.785, allocations: 73.88 kB / 1.021 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.7852, allocations: 353.4 kB / 1.021 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.7853, allocations: 126.2 kB / 1.021 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.7856, allocations: 198.6 kB / 1.021 GB, free: 16.49 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.7872, allocations: 0.7829 MB / 1.022 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7872, allocations: 8.219 kB / 1.022 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005325/0.7877, allocations: 419.7 kB / 1.022 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7877, allocations: 7.719 kB / 1.022 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7877, allocations: 2.562 kB / 1.022 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.7878, allocations: 5.562 kB / 1.022 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.788, allocations: 66.11 kB / 1.023 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.788, allocations: 3.281 kB / 1.023 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.7884, allocations: 15.75 kB / 1.023 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.7884, allocations: 13.75 kB / 1.023 GB, free: 16.35 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002273/0.7886, allocations: 209.8 kB / 1.023 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.7887, allocations: 60.17 kB / 1.023 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.7888, allocations: 62.2 kB / 1.023 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.7888, allocations: 4.156 kB / 1.023 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.7888, allocations: 1.875 kB / 1.023 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004574/0.7893, allocations: 402.6 kB / 1.023 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.7908, allocations: 1.222 MB / 1.024 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7908, allocations: 2.469 kB / 1.024 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.7911, allocations: 78.66 kB / 1.025 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.7911, allocations: 6.859 kB / 1.025 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.7911, allocations: 12.66 kB / 1.025 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.7911, allocations: 8.953 kB / 1.025 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7911, allocations: 4.719 kB / 1.025 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/0.7918, allocations: 0.7057 MB / 1.025 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.792, allocations: 90.69 kB / 1.025 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.646e-05/0.792, allocations: 12.91 kB / 1.025 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.7924, allocations: 24.92 kB / 1.025 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.7925, allocations: 34.52 kB / 1.025 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.7925, allocations: 23.72 kB / 1.025 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002949/0.7928, allocations: 329.2 kB / 1.026 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7928, allocations: 1.203 kB / 1.026 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004872/0.7933, allocations: 145.2 kB / 1.026 GB, free: 15.21 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.001183/0.7945, allocations: 1.29 MB / 1.027 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.7949, allocations: 317.6 kB / 1.027 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7949, allocations: 4 kB / 1.027 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.7951, allocations: 163.8 kB / 1.028 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.7966, allocations: 369.6 kB / 1.028 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.8011, allocations: 4.43 MB / 1.032 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.8016, allocations: 0.8844 MB / 1.033 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003983/0.802, allocations: 137.1 kB / 1.033 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.8022, allocations: 167.1 kB / 1.033 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.8022, allocations: 0.5938 kB / 1.033 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04623/0.8484, allocations: 15.9 MB / 1.049 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.99, allocations: 3.594 kB / 1.049 GB, free: 8.113 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.88890339503996] Failed to read output from testmodel.py, exit status != 0: 12.099202636862174 12.111990519 11.334407921 Calling exit ...