Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001233/0.001233, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001323/0.001323, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.379/1.379, allocations: 230.6 MB / 256.8 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.002491/0.002491, allocations: 285.9 kB / 313.5 MB, free: 2.594 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.157/1.157, allocations: 180.6 MB / 0.5377 GB, free: 14.45 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.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.002669/0.002669, allocations: 96.58 kB / 0.7403 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1643, allocations: 95.39 MB / 0.8334 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5707/0.735, allocations: 165.3 MB / 0.9948 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.7489, allocations: 11.96 MB / 1.007 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.7502, allocations: 43.25 kB / 1.007 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.7515, allocations: 411 kB / 1.007 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.7539, allocations: 0.9676 MB / 1.008 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.7559, allocations: 0.7286 MB / 1.009 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002031/0.758, allocations: 1.546 MB / 1.01 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006671/0.7586, allocations: 0.4888 MB / 1.011 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.7622, allocations: 1.769 MB / 1.012 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.7635, allocations: 0.5521 MB / 1.013 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.727e-05/0.7636, allocations: 54.27 kB / 1.013 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.765, allocations: 0.7463 MB / 1.014 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.7652, allocations: 289.9 kB / 1.014 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.7656, allocations: 316.8 kB / 1.014 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.7671, allocations: 1.157 MB / 1.015 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7671, allocations: 0 / 1.015 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7671, allocations: 1.062 kB / 1.015 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.7671, allocations: 1.125 kB / 1.015 GB, free: 3.219 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001394/0.7685, allocations: 1.002 MB / 1.016 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7686, allocations: 10.53 kB / 1.016 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.482e-05/0.7686, allocations: 18.12 kB / 1.016 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.606e-05/0.7687, allocations: 103 kB / 1.016 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008541/0.7695, allocations: 191 kB / 1.017 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007241/0.7703, allocations: 0.4914 MB / 1.017 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.7703, allocations: 48.5 kB / 1.017 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.7704, allocations: 58.25 kB / 1.017 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000942/0.7713, allocations: 0.7991 MB / 1.018 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.7713, allocations: 9.812 kB / 1.018 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.543e-05/0.7714, allocations: 27.05 kB / 1.018 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/0.7714, allocations: 25.47 kB / 1.018 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007482/0.7721, allocations: 457.5 kB / 1.018 GB, free: 17.97 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.003456/0.7756, allocations: 4.011 MB / 1.022 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.7757, allocations: 104.9 kB / 1.023 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/0.7758, allocations: 73.47 kB / 1.023 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.7759, allocations: 15.91 kB / 1.023 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.7759, allocations: 37.78 kB / 1.023 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.7759, allocations: 2.125 kB / 1.023 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005968/0.7765, allocations: 249.5 kB / 1.023 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.7766, allocations: 131.3 kB / 1.023 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009221/0.7775, allocations: 0.8455 MB / 1.024 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.7776, allocations: 29.73 kB / 1.024 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.7778, allocations: 413.2 kB / 1.024 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.7778, allocations: 46.98 kB / 1.024 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.7779, allocations: 87.44 kB / 1.024 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7781, allocations: 323.8 kB / 1.025 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.7783, allocations: 112.8 kB / 1.025 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.7787, allocations: 0.507 MB / 1.025 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.7791, allocations: 440 kB / 1.026 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7791, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007841/0.7799, allocations: 0.4998 MB / 1.026 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7799, allocations: 8 kB / 1.026 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.7799, allocations: 12.12 kB / 1.026 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.7799, allocations: 8.938 kB / 1.026 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.7802, allocations: 95.19 kB / 1.026 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.7802, allocations: 17.98 kB / 1.026 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/0.7808, allocations: 112.7 kB / 1.026 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.7809, allocations: 28 kB / 1.026 GB, free: 12.91 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002246/0.7811, allocations: 230.1 kB / 1.027 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.7812, allocations: 80.86 kB / 1.027 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.885e-05/0.7813, allocations: 73.11 kB / 1.027 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7813, allocations: 3.531 kB / 1.027 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7813, allocations: 0 / 1.027 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.7813, allocations: 6.594 kB / 1.027 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.7824, allocations: 1.039 MB / 1.028 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7824, allocations: 2.688 kB / 1.028 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.603e-05/0.7825, allocations: 25.81 kB / 1.028 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7825, allocations: 8.5 kB / 1.028 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.7825, allocations: 3.719 kB / 1.028 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.7825, allocations: 3.594 kB / 1.028 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7825, allocations: 5.531 kB / 1.028 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.7828, allocations: 268.2 kB / 1.028 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.7829, allocations: 101 kB / 1.028 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.424e-05/0.783, allocations: 3.438 kB / 1.028 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.7833, allocations: 20.67 kB / 1.028 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.7834, allocations: 13.14 kB / 1.028 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.7834, allocations: 8.938 kB / 1.028 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006365/0.784, allocations: 0.5851 MB / 1.029 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.784, allocations: 4 kB / 1.029 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005024/0.7845, allocations: 161 kB / 1.029 GB, free: 11.75 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0007819/0.7853, allocations: 0.868 MB / 1.03 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000416/0.7857, allocations: 233.5 kB / 1.03 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7857, allocations: 192 / 1.03 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.7858, allocations: 51.77 kB / 1.03 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.7872, allocations: 383.2 kB / 1.031 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006098/0.7933, allocations: 5.468 MB / 1.036 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.7935, allocations: 346.9 kB / 1.036 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004537/0.794, allocations: 148.8 kB / 1.036 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.7942, allocations: 227.4 kB / 1.037 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.7942, allocations: 1.203 kB / 1.037 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04031/0.8345, allocations: 19.71 MB / 1.056 GB, free: 4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.57, allocations: 9.906 kB / 1.056 GB, free: 3.992 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.58184189198073] Failed to read output from testmodel.py, exit status != 0: 12.733159416005947 12.745341189 11.975370235 Calling exit ...