Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 105.3 kB / 16.36 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001519, allocations: 74.8 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2521, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.4714/0.7235, allocations: 49.76 MB / 0.8334 GB, free: 17 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02149/0.745, allocations: 12.57 MB / 0.8456 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004136/0.7492, allocations: 74.09 kB / 0.8457 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003039/0.7523, allocations: 0.7527 MB / 0.8464 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007358/0.7597, allocations: 1.809 MB / 0.8482 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004631/0.7644, allocations: 1.343 MB / 0.8495 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006571/0.771, allocations: 3.238 MB / 0.8527 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.7733, allocations: 1.258 MB / 0.8539 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.7773, allocations: 1.302 MB / 0.8552 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.7791, allocations: 0.9274 MB / 0.8561 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.7793, allocations: 97.16 kB / 0.8562 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.7825, allocations: 1.07 MB / 0.8572 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003593/0.7829, allocations: 288.2 kB / 0.8575 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000894/0.7838, allocations: 0.6702 MB / 0.8582 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005005/0.7888, allocations: 1.957 MB / 0.8601 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7889, allocations: 7.938 kB / 0.8601 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.886e-06/0.7889, allocations: 0.5625 kB / 0.8601 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.7889, allocations: 0 / 0.8601 GB, free: 0.9883 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003185/0.7921, allocations: 1.701 MB / 0.8617 GB, free: 15.85 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.7921, allocations: 9.844 kB / 0.8617 GB, free: 15.85 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007288/0.7929, allocations: 208.7 kB / 0.8619 GB, free: 15.77 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.795, allocations: 1.073 MB / 0.863 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/0.7951, allocations: 70.22 kB / 0.8631 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.7952, allocations: 86.94 kB / 0.8631 GB, free: 15.07 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.7974, allocations: 0.9983 MB / 0.8641 GB, free: 14.55 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.7974, allocations: 5.219 kB / 0.8641 GB, free: 14.55 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.7975, allocations: 38.16 kB / 0.8642 GB, free: 14.52 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.7976, allocations: 22.03 kB / 0.8642 GB, free: 14.52 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.7992, allocations: 0.6569 MB / 0.8648 GB, free: 14.27 MB / 0.67 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.005897/0.8051, allocations: 4.714 MB / 0.8694 GB, free: 10.03 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.8063, allocations: 396.9 kB / 0.8698 GB, free: 9.828 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.8068, allocations: 218.3 kB / 0.87 GB, free: 9.723 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009641/0.8078, allocations: 1.148 MB / 0.8711 GB, free: 8.371 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.8079, allocations: 37.38 kB / 0.8712 GB, free: 8.328 MB / 0.67 GB Notification: Performance of pre-optimization done (n=29): time 2.444e-06/0.8079, allocations: 4 kB / 0.8712 GB, free: 8.324 MB / 0.67 GB Notification: Performance of matching and sorting (n=29): time 0.003199/0.8111, allocations: 1.066 MB / 0.8722 GB, free: 7.621 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.8111, allocations: 57.97 kB / 0.8723 GB, free: 7.555 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.8126, allocations: 0.9701 MB / 0.8732 GB, free: 7.012 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/0.8127, allocations: 35.77 kB / 0.8733 GB, free: 6.973 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/0.8132, allocations: 0.5827 MB / 0.8738 GB, free: 6.457 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.8134, allocations: 108.5 kB / 0.8739 GB, free: 6.363 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.8136, allocations: 117 kB / 0.874 GB, free: 6.289 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8137, allocations: 322.5 kB / 0.8743 GB, free: 5.973 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/0.8143, allocations: 199.5 kB / 0.8745 GB, free: 5.883 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/0.815, allocations: 405.3 kB / 0.8749 GB, free: 5.523 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.8163, allocations: 0.6067 MB / 0.8755 GB, free: 5.055 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.8164, allocations: 5.125 kB / 0.8755 GB, free: 5.051 MB / 0.67 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001985/0.8183, allocations: 0.7486 MB / 0.8763 GB, free: 4.656 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.8184, allocations: 7.812 kB / 0.8763 GB, free: 4.656 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.8184, allocations: 6.312 kB / 0.8763 GB, free: 4.656 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007893/0.8192, allocations: 155.5 kB / 0.8764 GB, free: 4.578 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.8199, allocations: 153.6 kB / 0.8766 GB, free: 4.527 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.8213, allocations: 1.711 MB / 0.8782 GB, free: 2.855 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.8225, allocations: 94.2 kB / 0.8783 GB, free: 2.797 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.149e-05/0.8226, allocations: 27.5 kB / 0.8783 GB, free: 2.793 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007155/0.8233, allocations: 267.2 kB / 0.8786 GB, free: 2.586 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.8236, allocations: 112 kB / 0.8787 GB, free: 2.527 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.8256, allocations: 0.7155 MB / 0.8794 GB, free: 2.125 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.8256, allocations: 4.438 kB / 0.8794 GB, free: 2.125 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.8256, allocations: 7.938 kB / 0.8794 GB, free: 2.117 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.8256, allocations: 3.938 kB / 0.8794 GB, free: 2.113 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.8289, allocations: 1.631 MB / 0.881 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.8289, allocations: 2.594 kB / 0.881 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.8294, allocations: 92.36 kB / 0.8811 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005867/0.83, allocations: 146.3 kB / 0.8812 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.8301, allocations: 16.95 kB / 0.8813 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.8314, allocations: 1.71 MB / 0.8829 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.8314, allocations: 1.469 kB / 0.8829 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.8334, allocations: 0.7817 MB / 0.8837 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005445/0.8339, allocations: 241.7 kB / 0.8839 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.834, allocations: 7.094 kB / 0.8839 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005974/0.8346, allocations: 46.19 kB / 0.884 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.8347, allocations: 44.58 kB / 0.884 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/0.8348, allocations: 16.27 kB / 0.884 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001104/0.8359, allocations: 0.6567 MB / 0.8847 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8359, allocations: 0 / 0.8847 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001553/0.8375, allocations: 383.8 kB / 0.885 GB, free: 13.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.8385, allocations: 403.1 kB / 0.8854 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.8403, allocations: 0.5404 MB / 0.886 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8403, allocations: 1.281 kB / 0.886 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008389/0.8412, allocations: 299 kB / 0.8862 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.8438, allocations: 0.5212 MB / 0.8867 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.8475, allocations: 1.829 MB / 0.8885 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007889/0.8483, allocations: 1.098 MB / 0.8896 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.8485, allocations: 73.36 kB / 0.8897 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of SimCode: time 6.51e-07/0.8485, allocations: 0 / 0.8897 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of Templates: time 0.04326/0.8918, allocations: 31.95 MB / 0.9209 GB, free: 13.96 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)