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.0008578/0.0008578, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009297/0.0009297, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8514/0.8514, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.001385/0.001385, allocations: 237.9 kB / 259.4 MB, free: 13.03 MB / 250.7 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.6677/0.6677, allocations: 138.4 MB / 454.3 MB, free: 29.93 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.473e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.3625/0.3625, allocations: 150.6 MB / 0.7934 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004169/0.3667, allocations: 3.208 MB / 0.7965 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.3673, allocations: 27.75 kB / 0.7965 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.368, allocations: 309.9 kB / 0.7968 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.37, allocations: 1.08 MB / 0.7979 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.3714, allocations: 0.699 MB / 0.7985 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002022/0.3734, allocations: 1.572 MB / 0.8001 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000644/0.3741, allocations: 373.9 kB / 0.8004 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.3752, allocations: 0.7634 MB / 0.8012 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.3762, allocations: 450.1 kB / 0.8016 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.848e-05/0.3763, allocations: 52 kB / 0.8017 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.3774, allocations: 0.7087 MB / 0.8024 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.3777, allocations: 255.2 kB / 0.8026 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.3779, allocations: 243.5 kB / 0.8028 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3792, allocations: 1.162 MB / 0.804 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3792, allocations: 0 / 0.804 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3792, allocations: 0 / 0.804 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.3792, allocations: 0 / 0.804 GB, free: 9.578 MB / 0.6355 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.001108/0.3803, allocations: 0.8488 MB / 0.8048 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3804, allocations: 17.94 kB / 0.8048 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.62e-05/0.3804, allocations: 86.5 kB / 0.8049 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007017/0.3811, allocations: 176.1 kB / 0.8051 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.3817, allocations: 470.5 kB / 0.8055 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.3818, allocations: 33 kB / 0.8055 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.3818, allocations: 47.94 kB / 0.8056 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/0.3824, allocations: 0.7142 MB / 0.8063 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3825, allocations: 0 / 0.8063 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.3825, allocations: 27.84 kB / 0.8063 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.3825, allocations: 13 kB / 0.8063 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.383, allocations: 411.7 kB / 0.8067 GB, free: 6.637 MB / 0.6355 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.001662/0.3846, allocations: 1.229 MB / 0.8079 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.3851, allocations: 288.6 kB / 0.8082 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.3852, allocations: 168.8 kB / 0.8084 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.3853, allocations: 16 kB / 0.8084 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.3853, allocations: 42.55 kB / 0.8084 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/0.3854, allocations: 0 / 0.8084 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.001382/0.3867, allocations: 0.9893 MB / 0.8094 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.3868, allocations: 59.41 kB / 0.8094 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.3872, allocations: 465.8 kB / 0.8099 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.3873, allocations: 33.7 kB / 0.8099 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.3874, allocations: 256.4 kB / 0.8102 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/0.3875, allocations: 115 kB / 0.8103 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/0.3875, allocations: 68.94 kB / 0.8103 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.3876, allocations: 358.8 kB / 0.8107 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.3878, allocations: 131.9 kB / 0.8108 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.388, allocations: 245.3 kB / 0.811 GB, free: 2.047 MB / 0.6355 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.001143/0.3891, allocations: 0.7934 MB / 0.8118 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3891, allocations: 0 / 0.8118 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004163/0.3895, allocations: 412.9 kB / 0.8122 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3895, allocations: 13.91 kB / 0.8122 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3896, allocations: 4.188 kB / 0.8122 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3896, allocations: 8 kB / 0.8122 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3897, allocations: 71.91 kB / 0.8123 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3897, allocations: 6.422 kB / 0.8123 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.3899, allocations: 12 kB / 0.8123 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.39, allocations: 12 kB / 0.8123 GB, free: 0.7031 MB / 0.6355 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.0001928/0.3902, allocations: 214.3 kB / 0.8125 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.3902, allocations: 55.61 kB / 0.8126 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.072e-05/0.3903, allocations: 60.75 kB / 0.8126 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3903, allocations: 4 kB / 0.8126 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3903, allocations: 4 kB / 0.8126 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003461/0.3907, allocations: 404.3 kB / 0.813 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.392, allocations: 1.146 MB / 0.8141 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.392, allocations: 4 kB / 0.8142 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.3922, allocations: 67.91 kB / 0.8142 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.3922, allocations: 14.56 kB / 0.8142 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3923, allocations: 8 kB / 0.8142 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.3923, allocations: 8 kB / 0.8142 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3923, allocations: 7.938 kB / 0.8143 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.3929, allocations: 0.7 MB / 0.8149 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.393, allocations: 103.7 kB / 0.815 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.3931, allocations: 8 kB / 0.815 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.3933, allocations: 25.11 kB / 0.8151 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.3933, allocations: 35.83 kB / 0.8151 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.3934, allocations: 19.98 kB / 0.8151 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002471/0.3936, allocations: 327.1 kB / 0.8154 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3936, allocations: 0 / 0.8154 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003979/0.394, allocations: 147.9 kB / 0.8156 GB, free: 13.18 MB / 0.6511 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.0009218/0.3949, allocations: 1.286 MB / 0.8168 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.3953, allocations: 312.8 kB / 0.8171 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3953, allocations: 4 kB / 0.8171 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3955, allocations: 158.6 kB / 0.8173 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.3965, allocations: 376.2 kB / 0.8176 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.4006, allocations: 4.346 MB / 0.8219 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.4008, allocations: 284.8 kB / 0.8222 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003726/0.4012, allocations: 134.9 kB / 0.8223 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.4014, allocations: 164.5 kB / 0.8224 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of SimCode: time 8.32e-07/0.4014, allocations: 7.875 kB / 0.8225 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.4344, allocations: 17.45 MB / 0.8395 GB, free: 4.926 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.843/7.277, allocations: 0 / 0.8395 GB, free: 4.926 MB / 0.6667 GB " [Timeout remaining time 653] (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: 9.811025415547192] Failed to read output from testmodel.py, exit status != 0: 7.368307870812714 7.377941411 6.996700891 Calling exit ...