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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002386/0.002386, allocations: 274.2 kB / 303 MB, free: 9.523 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.134/1.134, allocations: 180.9 MB / 0.5261 GB, free: 14.62 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 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.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: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 102.3 kB / 0.7248 GB, free: 39.87 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1518, allocations: 94.16 MB / 0.8167 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1911/0.3429, allocations: 171.3 MB / 0.984 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005948/0.3489, allocations: 3.383 MB / 0.9874 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007074/0.3496, allocations: 19.88 kB / 0.9874 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.3507, allocations: 342 kB / 0.9877 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.3533, allocations: 1.058 MB / 0.9887 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.355, allocations: 0.6739 MB / 0.9894 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002183/0.3571, allocations: 1.533 MB / 0.9909 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007843/0.3579, allocations: 409.5 kB / 0.9913 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.3591, allocations: 0.5915 MB / 0.9919 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.3604, allocations: 0.4894 MB / 0.9923 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.3606, allocations: 56 kB / 0.9924 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.362, allocations: 0.8807 MB / 0.9932 GB, free: 32 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.3624, allocations: 251.4 kB / 0.9935 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005445/0.3629, allocations: 334.6 kB / 0.9938 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.3648, allocations: 1.141 MB / 0.9949 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3648, allocations: 4 kB / 0.9949 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3648, allocations: 0 / 0.9949 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.3648, allocations: 0 / 0.9949 GB, free: 14.31 MB / 0.7481 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.001473/0.3663, allocations: 0.9224 MB / 0.9958 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3663, allocations: 8.031 kB / 0.9958 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.3664, allocations: 90.52 kB / 0.9959 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.3676, allocations: 179.4 kB / 0.9961 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008574/0.3684, allocations: 0.5251 MB / 0.9966 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.3685, allocations: 37 kB / 0.9966 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/0.3685, allocations: 40 kB / 0.9967 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007447/0.3693, allocations: 466.4 kB / 0.9971 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.3693, allocations: 7.953 kB / 0.9971 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.3693, allocations: 20 kB / 0.9971 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.3694, allocations: 13 kB / 0.9972 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000652/0.37, allocations: 419.7 kB / 0.9976 GB, free: 11.5 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.002565/0.3726, allocations: 1.725 MB / 0.9992 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.3731, allocations: 282.6 kB / 0.9995 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.3733, allocations: 176.7 kB / 0.9997 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.3735, allocations: 101 kB / 0.9998 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.3735, allocations: 38.56 kB / 0.9998 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 1.402e-06/0.3735, allocations: 0 / 0.9998 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.0019/0.3754, allocations: 1.072 MB / 1.001 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.3755, allocations: 59.34 kB / 1.001 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.376, allocations: 453.9 kB / 1.001 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.376, allocations: 37.64 kB / 1.001 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.3762, allocations: 264.4 kB / 1.002 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3763, allocations: 115 kB / 1.002 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3764, allocations: 69.66 kB / 1.002 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3766, allocations: 358.8 kB / 1.002 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.3768, allocations: 127.9 kB / 1.002 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.377, allocations: 193.9 kB / 1.002 GB, free: 6.18 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.00191/0.379, allocations: 0.8602 MB / 1.003 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.379, allocations: 0 / 1.003 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006057/0.3796, allocations: 413 kB / 1.004 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3796, allocations: 14.53 kB / 1.004 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3796, allocations: 0 / 1.004 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3796, allocations: 4 kB / 1.004 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.3799, allocations: 71.91 kB / 1.004 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3799, allocations: 4 kB / 1.004 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.3802, allocations: 11.94 kB / 1.004 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.3803, allocations: 12 kB / 1.004 GB, free: 4.758 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.0002455/0.3805, allocations: 217.7 kB / 1.004 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.3806, allocations: 55.67 kB / 1.004 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.3807, allocations: 56.77 kB / 1.004 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3807, allocations: 8 kB / 1.004 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3807, allocations: 0 / 1.004 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004944/0.3812, allocations: 408.3 kB / 1.005 GB, free: 3.988 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.3831, allocations: 1.257 MB / 1.006 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.3831, allocations: 4 kB / 1.006 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.3834, allocations: 67.91 kB / 1.006 GB, free: 2.555 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.3834, allocations: 4 kB / 1.006 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.3835, allocations: 12 kB / 1.006 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.3835, allocations: 7.984 kB / 1.006 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3835, allocations: 11.94 kB / 1.006 GB, free: 2.52 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008679/0.3843, allocations: 0.7043 MB / 1.007 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.3846, allocations: 168.8 kB / 1.007 GB, free: 1.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.3847, allocations: 11.98 kB / 1.007 GB, free: 1.555 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.385, allocations: 24.81 kB / 1.007 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.3851, allocations: 31.84 kB / 1.007 GB, free: 1.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.3851, allocations: 23.98 kB / 1.007 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003665/0.3855, allocations: 323.1 kB / 1.007 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.3855, allocations: 0 / 1.007 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005054/0.386, allocations: 147.9 kB / 1.007 GB, free: 1.016 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.3296/0.7156, allocations: 1.308 MB / 1.009 GB, free: 192.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006063/0.7162, allocations: 308.2 kB / 1.009 GB, free: 192.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7162, allocations: 2.875 kB / 1.009 GB, free: 192.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.7164, allocations: 158.5 kB / 1.009 GB, free: 192.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.7183, allocations: 358.4 kB / 1.009 GB, free: 192.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005825/0.7241, allocations: 4.432 MB / 1.014 GB, free: 190.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.7245, allocations: 0.8844 MB / 1.014 GB, free: 189.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000534/0.725, allocations: 137 kB / 1.015 GB, free: 189.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.7252, allocations: 168.1 kB / 1.015 GB, free: 189.6 MB / 0.7481 GB Notification: Performance of SimCode: time 1.203e-06/0.7252, allocations: 1.375 kB / 1.015 GB, free: 189.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04396/0.7692, allocations: 15.58 MB / 1.03 GB, free: 181.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/9.019, allocations: 5.188 kB / 1.03 GB, free: 181.4 MB / 0.7481 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: 12.834670620039105] Failed to read output from testmodel.py, exit status != 0: 9.105708371847868 9.113897267 8.747125356 Calling exit ...