Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001308/0.001308, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001406/0.001406, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.368/1.368, allocations: 230.6 MB / 256 MB, free: 7.797 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.002474/0.002474, allocations: 294.3 kB / 312.7 MB, free: 2.629 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.15/1.15, allocations: 180.6 MB / 0.5369 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 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.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.00284/0.00284, allocations: 105.8 kB / 0.7395 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1733, allocations: 95.39 MB / 0.8326 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.5942/0.7675, allocations: 168.2 MB / 0.997 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008063/0.7756, allocations: 5.383 MB / 1.002 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.7766, allocations: 54.38 kB / 1.002 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.778, allocations: 0.5499 MB / 1.003 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.7817, allocations: 1.677 MB / 1.004 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.7847, allocations: 1.221 MB / 1.006 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003278/0.788, allocations: 2.547 MB / 1.008 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008922/0.7889, allocations: 0.7101 MB / 1.009 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.7906, allocations: 1.093 MB / 1.01 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.792, allocations: 0.8492 MB / 1.011 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.7922, allocations: 101.8 kB / 1.011 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.7945, allocations: 1.268 MB / 1.012 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004366/0.7949, allocations: 0.497 MB / 1.013 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005398/0.7955, allocations: 0.5125 MB / 1.013 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.7977, allocations: 2.085 MB / 1.015 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7977, allocations: 3.938 kB / 1.015 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7977, allocations: 0.8125 kB / 1.015 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.7977, allocations: 0 / 1.015 GB, free: 3.184 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002003/0.7997, allocations: 1.445 MB / 1.016 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.7998, allocations: 13.66 kB / 1.016 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.7999, allocations: 139.5 kB / 1.017 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.8017, allocations: 335 kB / 1.017 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.803, allocations: 0.7413 MB / 1.018 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.803, allocations: 62.97 kB / 1.018 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.8032, allocations: 85.34 kB / 1.018 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.8048, allocations: 1.472 MB / 1.019 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.8049, allocations: 3.906 kB / 1.019 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.8049, allocations: 38.53 kB / 1.019 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.715e-05/0.805, allocations: 40 kB / 1.019 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.8062, allocations: 0.8268 MB / 1.02 GB, free: 17.42 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.004421/0.8106, allocations: 3.266 MB / 1.023 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.8111, allocations: 347.5 kB / 1.024 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.8114, allocations: 202.4 kB / 1.024 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.8115, allocations: 23.73 kB / 1.024 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.8115, allocations: 43.91 kB / 1.024 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.923e-06/0.8115, allocations: 0 / 1.024 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002066/0.8136, allocations: 1.274 MB / 1.025 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.8136, allocations: 57.44 kB / 1.025 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.8147, allocations: 1.012 MB / 1.026 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.8148, allocations: 31.2 kB / 1.026 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.815, allocations: 0.5029 MB / 1.027 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.165e-05/0.8151, allocations: 144.3 kB / 1.027 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.8153, allocations: 128.2 kB / 1.027 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.8154, allocations: 326.7 kB / 1.027 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.8158, allocations: 235.5 kB / 1.028 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.8163, allocations: 474 kB / 1.028 GB, free: 14.48 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.8184, allocations: 1.144 MB / 1.029 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8184, allocations: 2.438 kB / 1.029 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001162/0.8196, allocations: 0.7714 MB / 1.03 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8196, allocations: 8.312 kB / 1.03 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.8196, allocations: 8.469 kB / 1.03 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.8196, allocations: 10.75 kB / 1.03 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/0.8201, allocations: 145.4 kB / 1.03 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.8201, allocations: 13.97 kB / 1.03 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007853/0.8209, allocations: 57.33 kB / 1.03 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.821, allocations: 34.62 kB / 1.03 GB, free: 14.16 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0003676/0.8213, allocations: 314.5 kB / 1.03 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.8215, allocations: 106.8 kB / 1.031 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.8216, allocations: 109.1 kB / 1.031 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.8216, allocations: 2.031 kB / 1.031 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.8216, allocations: 2.859 kB / 1.031 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006307/0.8223, allocations: 0.676 MB / 1.031 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/0.8242, allocations: 1.435 MB / 1.033 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.8242, allocations: 3.406 kB / 1.033 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.8246, allocations: 88.08 kB / 1.033 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.8246, allocations: 6.281 kB / 1.033 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.8246, allocations: 15.44 kB / 1.033 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.8246, allocations: 13.09 kB / 1.033 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.8246, allocations: 8.219 kB / 1.033 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008299/0.8254, allocations: 0.8344 MB / 1.034 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.8258, allocations: 159.5 kB / 1.034 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.8259, allocations: 18.34 kB / 1.034 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006239/0.8265, allocations: 37.64 kB / 1.034 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.8265, allocations: 41.98 kB / 1.034 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.8266, allocations: 23.38 kB / 1.034 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008073/0.8274, allocations: 0.7081 MB / 1.035 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8274, allocations: 1.094 kB / 1.035 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007006/0.8281, allocations: 254.8 kB / 1.035 GB, free: 12.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001349/0.8295, allocations: 1.478 MB / 1.036 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007302/0.8302, allocations: 487.6 kB / 1.037 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8302, allocations: 0 / 1.037 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.8304, allocations: 184.9 kB / 1.037 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.8327, allocations: 0.6254 MB / 1.038 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008889/0.8416, allocations: 7.64 MB / 1.045 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.8421, allocations: 0.4997 MB / 1.045 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008114/0.8429, allocations: 249.4 kB / 1.046 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/0.8433, allocations: 347.3 kB / 1.046 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of SimCode: time 8.22e-07/0.8433, allocations: 0 / 1.046 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06499/0.9082, allocations: 30.9 MB / 1.076 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.17, allocations: 27.11 kB / 1.076 GB, free: 9.145 MB / 0.7481 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.120167014189065] Failed to read output from testmodel.py, exit status != 0: 12.286814735271037 12.30219649 11.501459617 Calling exit ...