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.001224/0.001224, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001338/0.001338, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.363/1.363, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002313/0.002313, allocations: 285.1 kB / 309.8 MB, free: 3.492 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 0.9913/0.9913, allocations: 180.6 MB / 0.5337 GB, free: 12.36 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",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.002665/0.002665, allocations: 103.8 kB / 0.7347 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5066, allocations: 95.33 MB / 0.8278 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2114/0.718, allocations: 174.3 MB / 0.9979 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005771/0.7237, allocations: 3.402 MB / 1.001 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.7243, allocations: 31.69 kB / 1.001 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009583/0.7253, allocations: 330.1 kB / 1.002 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.7276, allocations: 1.046 MB / 1.003 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.7292, allocations: 0.6774 MB / 1.003 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.731, allocations: 1.533 MB / 1.005 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.7316, allocations: 408.4 kB / 1.005 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008702/0.7325, allocations: 0.5993 MB / 1.006 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.7335, allocations: 499.8 kB / 1.006 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.245e-05/0.7336, allocations: 52 kB / 1.006 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.735, allocations: 0.8885 MB / 1.007 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.7353, allocations: 247.2 kB / 1.007 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.7356, allocations: 334.6 kB / 1.008 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.737, allocations: 1.137 MB / 1.009 GB, free: 192 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.737, allocations: 4 kB / 1.009 GB, free: 188 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.903e-06/0.737, allocations: 0 / 1.009 GB, free: 188 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.737, allocations: 4 kB / 1.009 GB, free: 184 kB / 0.7325 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.001481/0.7385, allocations: 0.9301 MB / 1.01 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.7386, allocations: 8.031 kB / 1.01 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.333e-05/0.7386, allocations: 13 kB / 1.01 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.776e-05/0.7387, allocations: 86.53 kB / 1.01 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.7398, allocations: 171.5 kB / 1.01 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007933/0.7406, allocations: 0.5289 MB / 1.011 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.7407, allocations: 37 kB / 1.011 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.865e-05/0.7407, allocations: 40 kB / 1.011 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007634/0.7415, allocations: 470.4 kB / 1.011 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.7415, allocations: 0 / 1.011 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.7416, allocations: 20 kB / 1.011 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.7416, allocations: 20.98 kB / 1.011 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006423/0.7422, allocations: 411.7 kB / 1.011 GB, free: 13.36 MB / 0.7481 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.002504/0.7448, allocations: 1.732 MB / 1.013 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.7452, allocations: 282.6 kB / 1.013 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.7455, allocations: 175.8 kB / 1.014 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.7457, allocations: 101.1 kB / 1.014 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.7457, allocations: 42.55 kB / 1.014 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 1.412e-06/0.7457, allocations: 0 / 1.014 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.001951/0.7477, allocations: 1.071 MB / 1.015 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.7477, allocations: 55.34 kB / 1.015 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.7482, allocations: 465.8 kB / 1.015 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.7482, allocations: 37.7 kB / 1.015 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.7484, allocations: 244.5 kB / 1.016 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.7485, allocations: 123 kB / 1.016 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.7487, allocations: 69.66 kB / 1.016 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.7488, allocations: 358.8 kB / 1.016 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.749, allocations: 127.9 kB / 1.016 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.7493, allocations: 197.9 kB / 1.016 GB, free: 8.035 MB / 0.7481 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.001909/0.7512, allocations: 0.8674 MB / 1.017 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.7512, allocations: 3.938 kB / 1.017 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000609/0.7518, allocations: 409 kB / 1.018 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.7518, allocations: 4 kB / 1.018 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.7518, allocations: 4 kB / 1.018 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.7518, allocations: 4 kB / 1.018 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.7521, allocations: 72.09 kB / 1.018 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.7521, allocations: 7.938 kB / 1.018 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.7525, allocations: 15.94 kB / 1.018 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.7525, allocations: 15.98 kB / 1.018 GB, free: 6.598 MB / 0.7481 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.0002439/0.7528, allocations: 217.2 kB / 1.018 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.21e-05/0.7529, allocations: 51.67 kB / 1.018 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.753, allocations: 56.77 kB / 1.018 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.753, allocations: 11.97 kB / 1.018 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.753, allocations: 4 kB / 1.018 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005023/0.7535, allocations: 404.3 kB / 1.018 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.7553, allocations: 1.251 MB / 1.02 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.7553, allocations: 4.5 kB / 1.02 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.7556, allocations: 79.89 kB / 1.02 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.7556, allocations: 4 kB / 1.02 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.7557, allocations: 12 kB / 1.02 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.7557, allocations: 7.938 kB / 1.02 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7557, allocations: 4 kB / 1.02 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.7565, allocations: 0.7045 MB / 1.02 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.7567, allocations: 172.7 kB / 1.021 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.7568, allocations: 12 kB / 1.021 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.7572, allocations: 19.98 kB / 1.021 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.7573, allocations: 35.91 kB / 1.021 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.7573, allocations: 20 kB / 1.021 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000359/0.7577, allocations: 327.1 kB / 1.021 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.7577, allocations: 0 / 1.021 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005076/0.7582, allocations: 147.9 kB / 1.021 GB, free: 2.863 MB / 0.7481 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.001337/0.7595, allocations: 1.299 MB / 1.022 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005349/0.76, allocations: 315.7 kB / 1.023 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.76, allocations: 4 kB / 1.023 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.7603, allocations: 156.9 kB / 1.023 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.7619, allocations: 372.2 kB / 1.023 GB, free: 0.6719 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.7673, allocations: 4.415 MB / 1.028 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.7678, allocations: 0.8862 MB / 1.028 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003989/0.7682, allocations: 128.7 kB / 1.029 GB, free: 11 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.7685, allocations: 175.3 kB / 1.029 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of SimCode: time 3.9e-07/0.7685, allocations: 0 / 1.029 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.8063, allocations: 15.6 MB / 1.044 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.501/9.307, allocations: 8.047 kB / 1.044 GB, free: 11.57 MB / 0.7794 GB " [Timeout remaining time 651] (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: 13.029940307023935] Failed to read output from testmodel.py, exit status != 0: 9.439905632985756 9.461964496 8.720806507 Calling exit ...