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.006135/0.006135, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001368/0.001368, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.309 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: 275.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9903/0.9903, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 100.2 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1709, allocations: 86.97 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5094/0.6803, allocations: 171.1 MB / 0.9334 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006822/0.6871, allocations: 4.305 MB / 0.9376 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007195/0.6879, allocations: 19.88 kB / 0.9376 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.689, allocations: 354 kB / 0.938 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.6922, allocations: 1.221 MB / 0.9392 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.6942, allocations: 0.7904 MB / 0.9399 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002211/0.6964, allocations: 1.691 MB / 0.9416 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008511/0.6973, allocations: 0.562 MB / 0.9421 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.6986, allocations: 0.6844 MB / 0.9428 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.6998, allocations: 0.5504 MB / 0.9433 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.7, allocations: 64 kB / 0.9434 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.7015, allocations: 0.799 MB / 0.9442 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002954/0.7018, allocations: 271.3 kB / 0.9444 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005176/0.7023, allocations: 410.3 kB / 0.9448 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.7041, allocations: 1.272 MB / 0.9461 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7041, allocations: 0 / 0.9461 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7041, allocations: 0 / 0.9461 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.7041, allocations: 0 / 0.9461 GB, free: 10.7 MB / 0.7012 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.0019/0.706, allocations: 1.055 MB / 0.9471 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.7061, allocations: 11.97 kB / 0.9471 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.7071, allocations: 171.4 kB / 0.9473 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.7079, allocations: 0.541 MB / 0.9478 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.7079, allocations: 41.25 kB / 0.9479 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.708, allocations: 52 kB / 0.9479 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.709, allocations: 0.6557 MB / 0.9485 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.7091, allocations: 0 / 0.9485 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/0.7091, allocations: 24 kB / 0.9486 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.7092, allocations: 25.31 kB / 0.9486 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009125/0.7101, allocations: 0.5125 MB / 0.9491 GB, free: 7.52 MB / 0.7012 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.003195/0.7133, allocations: 2.295 MB / 0.9513 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.7138, allocations: 265.1 kB / 0.9516 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.7141, allocations: 132.8 kB / 0.9517 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.7141, allocations: 3.984 kB / 0.9517 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.7141, allocations: 46.44 kB / 0.9518 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.7142, allocations: 0 / 0.9518 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of matching and sorting (n=20): time 0.001662/0.7158, allocations: 0.6752 MB / 0.9524 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.7159, allocations: 77.11 kB / 0.9525 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.7166, allocations: 0.5535 MB / 0.953 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.7166, allocations: 33.7 kB / 0.9531 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.7169, allocations: 339.8 kB / 0.9534 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.315e-05/0.717, allocations: 79.38 kB / 0.9535 GB, free: 2.766 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.7171, allocations: 69.98 kB / 0.9535 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7173, allocations: 362.7 kB / 0.9539 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.7175, allocations: 128.6 kB / 0.954 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.7179, allocations: 219.2 kB / 0.9542 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.7184, allocations: 333.7 kB / 0.9545 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.7184, allocations: 1.812 kB / 0.9545 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008841/0.7193, allocations: 0.4947 MB / 0.955 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.7194, allocations: 4 kB / 0.955 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.7194, allocations: 4 kB / 0.955 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003073/0.7197, allocations: 97.92 kB / 0.9551 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.72, allocations: 71.84 kB / 0.9552 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.723, allocations: 3.345 MB / 0.9584 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.7235, allocations: 55.55 kB / 0.9585 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.7235, allocations: 12 kB / 0.9585 GB, free: 13.23 MB / 0.7169 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.0002412/0.7238, allocations: 221.7 kB / 0.9587 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.7239, allocations: 59.67 kB / 0.9588 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.455e-05/0.724, allocations: 52.5 kB / 0.9588 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.724, allocations: 0 / 0.9588 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.724, allocations: 4.812 kB / 0.9588 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006912/0.7247, allocations: 0.5402 MB / 0.9594 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.7259, allocations: 0.9172 MB / 0.9603 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.726, allocations: 4 kB / 0.9603 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.7262, allocations: 39.97 kB / 0.9603 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001879/0.7264, allocations: 68.75 kB / 0.9604 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.7264, allocations: 4 kB / 0.9604 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.728, allocations: 1.821 MB / 0.9621 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7281, allocations: 0 / 0.9621 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006302/0.7287, allocations: 445.6 kB / 0.9626 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.7289, allocations: 172.7 kB / 0.9627 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.729, allocations: 7.938 kB / 0.9627 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.7294, allocations: 18.58 kB / 0.9628 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.7295, allocations: 19.97 kB / 0.9628 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.7295, allocations: 20 kB / 0.9628 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004406/0.73, allocations: 398.8 kB / 0.9632 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.73, allocations: 0 / 0.9632 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006131/0.7306, allocations: 203.7 kB / 0.9634 GB, free: 7.926 MB / 0.7169 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.0003475/0.731, allocations: 165.7 kB / 0.9635 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000866/0.7318, allocations: 0.5322 MB / 0.9641 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7319, allocations: 0 / 0.9641 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003685/0.7322, allocations: 266.3 kB / 0.9643 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.7339, allocations: 374 kB / 0.9647 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.7354, allocations: 0.9968 MB / 0.9656 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.7359, allocations: 0.9093 MB / 0.9665 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003898/0.7363, allocations: 112.8 kB / 0.9666 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.7364, allocations: 39.44 kB / 0.9667 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.7364, allocations: 0 / 0.9667 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of Templates: time 0.0211/0.7575, allocations: 13.1 MB / 0.9795 GB, free: 7.605 MB / 0.7325 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)