Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002129/0.002129, allocations: 191.5 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.962/2.962, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 68.31 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3388, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.8874/1.226, allocations: 188.2 MB / 1.251 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009912/1.236, allocations: 5.774 MB / 1.257 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/1.238, allocations: 35.34 kB / 1.257 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/1.239, allocations: 0.4943 MB / 1.257 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005117/1.245, allocations: 1.728 MB / 1.259 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003411/1.248, allocations: 1.063 MB / 1.26 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005586/1.254, allocations: 4.092 MB / 1.264 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/1.256, allocations: 0.9709 MB / 1.265 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/1.258, allocations: 0.8993 MB / 1.266 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/1.26, allocations: 0.9941 MB / 1.267 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002287/1.26, allocations: 60.97 kB / 1.267 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003925/1.264, allocations: 1.642 MB / 1.269 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008109/1.265, allocations: 0.5134 MB / 1.269 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/1.266, allocations: 0.6591 MB / 1.27 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004528/1.271, allocations: 2.357 MB / 1.272 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/1.271, allocations: 0 / 1.272 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.422e-06/1.271, allocations: 0 / 1.272 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.734e-05/1.271, allocations: 0 / 1.272 GB, free: 5.16 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00361/1.275, allocations: 1.622 MB / 1.274 GB, free: 20.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.275, allocations: 9.438 kB / 1.274 GB, free: 20.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/1.277, allocations: 331.1 kB / 1.274 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/1.279, allocations: 0.8763 MB / 1.275 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/1.279, allocations: 77.44 kB / 1.275 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/1.279, allocations: 95.94 kB / 1.275 GB, free: 19.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/1.282, allocations: 1.087 MB / 1.276 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/1.282, allocations: 0.5 kB / 1.276 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/1.282, allocations: 42.89 kB / 1.276 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.023e-05/1.282, allocations: 38.86 kB / 1.276 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/1.284, allocations: 0.9971 MB / 1.277 GB, free: 19.87 MB / 1.014 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.006507/1.29, allocations: 4.238 MB / 1.281 GB, free: 18.13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009058/1.291, allocations: 0.5906 MB / 1.282 GB, free: 18.11 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/1.292, allocations: 346.1 kB / 1.282 GB, free: 18.09 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/1.292, allocations: 108.5 kB / 1.282 GB, free: 17.99 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/1.292, allocations: 47.89 kB / 1.282 GB, free: 17.95 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 2.185e-06/1.292, allocations: 0 / 1.282 GB, free: 17.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=55): time 0.004385/1.296, allocations: 2.2 MB / 1.284 GB, free: 17.15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/1.296, allocations: 64.94 kB / 1.285 GB, free: 17.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/1.298, allocations: 0.8802 MB / 1.285 GB, free: 16.95 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/1.298, allocations: 40.73 kB / 1.285 GB, free: 16.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/1.298, allocations: 0.5166 MB / 1.286 GB, free: 16.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/1.298, allocations: 191.9 kB / 1.286 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/1.298, allocations: 134.2 kB / 1.286 GB, free: 16.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.299, allocations: 332.7 kB / 1.287 GB, free: 16.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/1.299, allocations: 291.8 kB / 1.287 GB, free: 16.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/1.3, allocations: 432.7 kB / 1.287 GB, free: 16.09 MB / 1.014 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.004106/1.304, allocations: 1.741 MB / 1.289 GB, free: 15.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.304, allocations: 1.094 kB / 1.289 GB, free: 15.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001601/1.305, allocations: 0.9237 MB / 1.29 GB, free: 15.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.305, allocations: 12.41 kB / 1.29 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.305, allocations: 4.656 kB / 1.29 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002036/1.306, allocations: 98.5 kB / 1.29 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/1.306, allocations: 163.7 kB / 1.29 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/1.31, allocations: 4.293 MB / 1.294 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/1.311, allocations: 67.23 kB / 1.294 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/1.311, allocations: 34.55 kB / 1.294 GB, free: 11.88 MB / 1.014 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: 17 * 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 (80): * Single equations (assignments): 77 * 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,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006132/1.312, allocations: 350.2 kB / 1.295 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/1.312, allocations: 97.97 kB / 1.295 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/1.312, allocations: 113.7 kB / 1.295 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.312, allocations: 5.25 kB / 1.295 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.312, allocations: 0 / 1.295 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/1.313, allocations: 0.7615 MB / 1.296 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/1.317, allocations: 1.989 MB / 1.298 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.317, allocations: 5.594 kB / 1.298 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007216/1.317, allocations: 147.8 kB / 1.298 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/1.317, allocations: 39.44 kB / 1.298 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/1.318, allocations: 21.39 kB / 1.298 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/1.319, allocations: 1.483 MB / 1.299 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.319, allocations: 7.438 kB / 1.299 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/1.321, allocations: 1.211 MB / 1.301 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00057/1.321, allocations: 256.7 kB / 1.301 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/1.321, allocations: 14.09 kB / 1.301 GB, free: 9.246 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000981/1.322, allocations: 72.75 kB / 1.301 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.322, allocations: 53.53 kB / 1.301 GB, free: 9.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.133e-05/1.323, allocations: 31.45 kB / 1.301 GB, free: 9.227 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009389/1.324, allocations: 0.6111 MB / 1.302 GB, free: 9.137 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.433e-06/1.324, allocations: 1.375 kB / 1.302 GB, free: 9.137 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001253/1.325, allocations: 307 kB / 1.302 GB, free: 9.133 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004742/1.325, allocations: 189.4 kB / 1.302 GB, free: 9.031 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001603/1.327, allocations: 0.9936 MB / 1.303 GB, free: 8.688 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.327, allocations: 2.578 kB / 1.303 GB, free: 8.688 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006591/1.328, allocations: 452.9 kB / 1.303 GB, free: 8.574 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/1.331, allocations: 0.6211 MB / 1.304 GB, free: 8.512 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/1.334, allocations: 2.53 MB / 1.306 GB, free: 7.168 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008626/1.335, allocations: 1.17 MB / 1.308 GB, free: 6.453 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001201/1.336, allocations: 253.9 kB / 1.308 GB, free: 6.398 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/1.337, allocations: 72.41 kB / 1.308 GB, free: 6.395 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/1.337, allocations: 0 / 1.308 GB, free: 6.395 MB / 1.014 GB Notification: Performance of Templates: time 0.03684/1.374, allocations: 21.32 MB / 1.329 GB, free: 1.793 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)