Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009969/0.0009969, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001026/0.001026, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002023, allocations: 287 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9134/0.9134, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 97.84 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1689, allocations: 86.99 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5457/0.7146, allocations: 168.8 MB / 0.8443 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006583/0.7212, allocations: 4.361 MB / 0.8485 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008517/0.7221, allocations: 19.88 kB / 0.8486 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.7231, allocations: 302.2 kB / 0.8488 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.7261, allocations: 1.145 MB / 0.85 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.728, allocations: 0.7213 MB / 0.8507 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002372/0.7304, allocations: 2.359 MB / 0.853 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006228/0.731, allocations: 491.8 kB / 0.8534 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.7321, allocations: 0.5943 MB / 0.854 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.7333, allocations: 0.5714 MB / 0.8546 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.7334, allocations: 34.19 kB / 0.8546 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.735, allocations: 0.918 MB / 0.8555 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.7353, allocations: 237.2 kB / 0.8557 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.7357, allocations: 372.9 kB / 0.8561 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.7371, allocations: 1.285 MB / 0.8573 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7371, allocations: 0 / 0.8573 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.52e-07/0.7371, allocations: 0 / 0.8573 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.7371, allocations: 0 / 0.8573 GB, free: 8.723 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001707/0.7388, allocations: 1.035 MB / 0.8584 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.7388, allocations: 7.562 kB / 0.8584 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000995/0.7398, allocations: 164.2 kB / 0.8585 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007203/0.7406, allocations: 0.5206 MB / 0.859 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.7406, allocations: 47.06 kB / 0.8591 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.7407, allocations: 52.31 kB / 0.8591 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.7417, allocations: 0.6543 MB / 0.8598 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.7418, allocations: 2.594 kB / 0.8598 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.7418, allocations: 25.28 kB / 0.8598 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.7419, allocations: 21.12 kB / 0.8598 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008639/0.7427, allocations: 0.5139 MB / 0.8603 GB, free: 6.707 MB / 0.5762 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.00308/0.7458, allocations: 2.305 MB / 0.8626 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.7463, allocations: 254.1 kB / 0.8628 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.7466, allocations: 137.9 kB / 0.8629 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.7466, allocations: 2.344 kB / 0.8629 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.7467, allocations: 40.91 kB / 0.863 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.7467, allocations: 0 / 0.863 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001612/0.7483, allocations: 0.6672 MB / 0.8636 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.7484, allocations: 81.52 kB / 0.8637 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.749, allocations: 0.563 MB / 0.8643 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.749, allocations: 29.7 kB / 0.8643 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.7492, allocations: 337 kB / 0.8646 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.251e-05/0.7493, allocations: 72.5 kB / 0.8647 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.7494, allocations: 73.91 kB / 0.8647 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.7496, allocations: 362.9 kB / 0.8651 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.7498, allocations: 130.2 kB / 0.8652 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.7501, allocations: 223.8 kB / 0.8654 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.7506, allocations: 326.1 kB / 0.8657 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7506, allocations: 0 / 0.8657 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008552/0.7515, allocations: 0.5002 MB / 0.8662 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7515, allocations: 6.188 kB / 0.8662 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7515, allocations: 3.188 kB / 0.8662 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.7518, allocations: 93.19 kB / 0.8663 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.7522, allocations: 73.08 kB / 0.8664 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.755, allocations: 3.095 MB / 0.8694 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/0.7555, allocations: 66.62 kB / 0.8695 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.7556, allocations: 9.562 kB / 0.8695 GB, free: 15.05 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002894/0.7559, allocations: 220.4 kB / 0.8697 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.756, allocations: 59.06 kB / 0.8698 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.713e-05/0.7561, allocations: 58.34 kB / 0.8698 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.7561, allocations: 1.812 kB / 0.8698 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.7561, allocations: 0 / 0.8698 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006878/0.7568, allocations: 0.5387 MB / 0.8703 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.7581, allocations: 0.9168 MB / 0.8712 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.7581, allocations: 2.281 kB / 0.8712 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.7583, allocations: 38.22 kB / 0.8713 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.7585, allocations: 69.09 kB / 0.8713 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.7585, allocations: 7 kB / 0.8713 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.7601, allocations: 1.689 MB / 0.873 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.7601, allocations: 3.984 kB / 0.873 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.7607, allocations: 440.6 kB / 0.8734 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.7609, allocations: 162.9 kB / 0.8736 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.761, allocations: 6.562 kB / 0.8736 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.7614, allocations: 37.62 kB / 0.8736 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.7615, allocations: 25.81 kB / 0.8736 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.7616, allocations: 11.72 kB / 0.8736 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000438/0.762, allocations: 402.9 kB / 0.874 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.762, allocations: 0 / 0.874 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006673/0.7627, allocations: 207.4 kB / 0.8742 GB, free: 11.23 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004304/0.7631, allocations: 165.9 kB / 0.8744 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008782/0.764, allocations: 0.5247 MB / 0.8749 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.7641, allocations: 6.312 kB / 0.8749 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.7644, allocations: 247.1 kB / 0.8751 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.766, allocations: 356.2 kB / 0.8755 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.7677, allocations: 1.215 MB / 0.8767 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.7682, allocations: 0.9067 MB / 0.8776 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005305/0.7688, allocations: 109.6 kB / 0.8777 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.95e-05/0.7689, allocations: 41.25 kB / 0.8777 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.7689, allocations: 4 kB / 0.8777 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of Templates: time 0.02245/0.7913, allocations: 12.39 MB / 0.8898 GB, free: 15.75 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)