Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001095/0.001095, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001277/0.001277, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.866/0.866, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.001479/0.001479, allocations: 240.1 kB / 259.4 MB, free: 13.02 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.6834/0.6834, allocations: 138.4 MB / 454.3 MB, free: 1.633 MB / 362.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.6463 GB, free: 29.01 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.148e-05, allocations: 8.25 kB / 0.6463 GB, free: 29 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1397/0.1397, allocations: 165.4 MB / 0.8079 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.1515, allocations: 11.98 MB / 0.8196 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.1525, allocations: 43.62 kB / 0.8196 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.1537, allocations: 436.9 kB / 0.82 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.1561, allocations: 1.24 MB / 0.8212 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.1577, allocations: 0.7686 MB / 0.822 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002571/0.1603, allocations: 2.054 MB / 0.824 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008872/0.1612, allocations: 0.6154 MB / 0.8246 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.1645, allocations: 2.094 MB / 0.8266 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.1659, allocations: 0.6226 MB / 0.8273 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.166, allocations: 80 kB / 0.8273 GB, free: 7.656 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.1673, allocations: 0.7439 MB / 0.8281 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.1677, allocations: 418.8 kB / 0.8285 GB, free: 6.5 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.168, allocations: 347.2 kB / 0.8288 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.1703, allocations: 1.515 MB / 0.8303 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1703, allocations: 0 / 0.8303 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1703, allocations: 0 / 0.8303 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.424e-05/0.1704, allocations: 4 kB / 0.8303 GB, free: 4.637 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002133/0.1725, allocations: 1.174 MB / 0.8314 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.1726, allocations: 12.69 kB / 0.8314 GB, free: 3.414 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.1727, allocations: 122.5 kB / 0.8315 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009164/0.1736, allocations: 227.2 kB / 0.8318 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008604/0.1744, allocations: 0.6155 MB / 0.8324 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.1745, allocations: 58 kB / 0.8324 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.1746, allocations: 79.98 kB / 0.8325 GB, free: 2.281 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.1756, allocations: 1.058 MB / 0.8335 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.1757, allocations: 7.938 kB / 0.8335 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.1757, allocations: 31.98 kB / 0.8336 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.1757, allocations: 37.25 kB / 0.8336 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/0.1765, allocations: 0.6138 MB / 0.8342 GB, free: 432 kB / 0.6667 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.003114/0.1797, allocations: 3.726 MB / 0.8378 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/0.1802, allocations: 452.2 kB / 0.8383 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.1805, allocations: 242.3 kB / 0.8385 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.1806, allocations: 20.67 kB / 0.8385 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1806, allocations: 42.56 kB / 0.8386 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 3.046e-06/0.1806, allocations: 0 / 0.8386 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.00208/0.1827, allocations: 1.554 MB / 0.8401 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.1828, allocations: 110.8 kB / 0.8402 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006466/0.1834, allocations: 0.7194 MB / 0.8409 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.1834, allocations: 33.7 kB / 0.8409 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.1837, allocations: 424.5 kB / 0.8413 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.1838, allocations: 170.5 kB / 0.8415 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.1839, allocations: 118.2 kB / 0.8416 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.132e-05/0.184, allocations: 334 kB / 0.8419 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.1842, allocations: 185.2 kB / 0.8421 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.1846, allocations: 0.5501 MB / 0.8426 GB, free: 7.367 MB / 0.6823 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 (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.186, allocations: 1.11 MB / 0.8437 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.186, allocations: 0 / 0.8437 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000716/0.1867, allocations: 0.6755 MB / 0.8444 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1867, allocations: 8 kB / 0.8444 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.1867, allocations: 8.719 kB / 0.8444 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1867, allocations: 12 kB / 0.8444 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.1873, allocations: 127.8 kB / 0.8445 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.1873, allocations: 15.98 kB / 0.8445 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.1876, allocations: 27.94 kB / 0.8446 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.1876, allocations: 31.92 kB / 0.8446 GB, free: 5.262 MB / 0.6823 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: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0003092/0.188, allocations: 278.2 kB / 0.8449 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.1881, allocations: 83.48 kB / 0.8449 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.1882, allocations: 91.61 kB / 0.845 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1882, allocations: 7.938 kB / 0.845 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1882, allocations: 4 kB / 0.845 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005082/0.1887, allocations: 0.6988 MB / 0.8457 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.1903, allocations: 1.521 MB / 0.8472 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1903, allocations: 4 kB / 0.8472 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.1905, allocations: 95.83 kB / 0.8473 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1905, allocations: 8 kB / 0.8473 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.1905, allocations: 19.94 kB / 0.8473 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1905, allocations: 4 kB / 0.8473 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.1905, allocations: 11.94 kB / 0.8473 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007598/0.1913, allocations: 0.8606 MB / 0.8482 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.1915, allocations: 143.4 kB / 0.8483 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.1916, allocations: 19.94 kB / 0.8483 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.1918, allocations: 17.52 kB / 0.8484 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.1918, allocations: 39.81 kB / 0.8484 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.1919, allocations: 20 kB / 0.8484 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004564/0.1923, allocations: 0.5146 MB / 0.8489 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1923, allocations: 0 / 0.8489 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005723/0.1929, allocations: 196 kB / 0.8491 GB, free: 404 kB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.00151/0.1944, allocations: 1.489 MB / 0.8506 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006493/0.1951, allocations: 461.1 kB / 0.851 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1951, allocations: 4.188 kB / 0.851 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.1953, allocations: 203.8 kB / 0.8512 GB, free: 14.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.197, allocations: 489.8 kB / 0.8517 GB, free: 13.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/0.2034, allocations: 6.554 MB / 0.8581 GB, free: 6.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.204, allocations: 444.9 kB / 0.8585 GB, free: 6.309 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005631/0.2046, allocations: 195 kB / 0.8587 GB, free: 6.113 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.2049, allocations: 300.4 kB / 0.859 GB, free: 5.82 MB / 0.698 GB Notification: Performance of SimCode: time 1.483e-06/0.2049, allocations: 0 / 0.859 GB, free: 5.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2789/0.4838, allocations: 24.63 MB / 0.883 GB, free: 208.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/7.539, allocations: 11.73 kB / 0.883 GB, free: 208.2 MB / 0.698 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.268743318505585] Failed to read output from testmodel.py, exit status != 0: 7.632261571474373 7.639353409 7.466959042 Calling exit ...