Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004482/0.004482, allocations: 100.5 kB / 15.73 MB, free: 6.051 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.001079/0.001079, allocations: 199.3 kB / 16.67 MB, free: 5.977 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002198/0.002198, allocations: 279.1 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9455/0.9455, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 99.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1564, allocations: 86.98 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.503/0.6595, allocations: 171 MB / 0.9333 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006263/0.6658, allocations: 4.296 MB / 0.9375 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007571/0.6665, allocations: 19.88 kB / 0.9376 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.6676, allocations: 346 kB / 0.9379 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.67, allocations: 0.9954 MB / 0.9389 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.672, allocations: 0.8155 MB / 0.9397 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.6735, allocations: 1.291 MB / 0.9409 GB, free: 4 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006182/0.6741, allocations: 487.3 kB / 0.9414 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.6753, allocations: 0.6798 MB / 0.942 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009368/0.6762, allocations: 452 kB / 0.9425 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 8.655e-05/0.6763, allocations: 52 kB / 0.9425 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.6778, allocations: 0.9082 MB / 0.9434 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.678, allocations: 211.3 kB / 0.9436 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.6784, allocations: 326.6 kB / 0.9439 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.6799, allocations: 1.137 MB / 0.945 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6799, allocations: 0 / 0.945 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6799, allocations: 0 / 0.945 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.6799, allocations: 4 kB / 0.945 GB, free: 11.77 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00154/0.6814, allocations: 0.9588 MB / 0.946 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.6815, allocations: 8.031 kB / 0.946 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.6831, allocations: 255.1 kB / 0.9462 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008834/0.684, allocations: 0.4935 MB / 0.9467 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.684, allocations: 40.92 kB / 0.9467 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.6841, allocations: 36 kB / 0.9468 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.6853, allocations: 0.6122 MB / 0.9474 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.6853, allocations: 8 kB / 0.9474 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.6854, allocations: 16 kB / 0.9474 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.6854, allocations: 28.97 kB / 0.9474 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.6868, allocations: 0.5425 MB / 0.948 GB, free: 8.668 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.003759/0.6905, allocations: 2.261 MB / 0.9502 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009089/0.6915, allocations: 278.3 kB / 0.9504 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.692, allocations: 168.7 kB / 0.9506 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.692, allocations: 4 kB / 0.9506 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.6921, allocations: 46.48 kB / 0.9506 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.6921, allocations: 0 / 0.9506 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.004938/0.697, allocations: 1.088 MB / 0.9517 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.6971, allocations: 81.05 kB / 0.9518 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006751/0.6978, allocations: 0.5534 MB / 0.9523 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.6978, allocations: 25.7 kB / 0.9523 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.6981, allocations: 299.5 kB / 0.9526 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.6981, allocations: 43.44 kB / 0.9527 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.6983, allocations: 65.61 kB / 0.9527 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6984, allocations: 358.7 kB / 0.9531 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005808/0.699, allocations: 183.8 kB / 0.9533 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/0.6997, allocations: 271 kB / 0.9535 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.7008, allocations: 406.5 kB / 0.9539 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7008, allocations: 0 / 0.9539 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002626/0.7034, allocations: 0.7301 MB / 0.9546 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.7035, allocations: 8 kB / 0.9546 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7035, allocations: 0 / 0.9546 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/0.7041, allocations: 184.8 kB / 0.9548 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.7045, allocations: 71.88 kB / 0.9549 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.7084, allocations: 2.233 MB / 0.957 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/0.709, allocations: 75.39 kB / 0.9571 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.709, allocations: 19.98 kB / 0.9571 GB, free: 14.83 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 (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002576/0.7093, allocations: 186.4 kB / 0.9573 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.7094, allocations: 47.44 kB / 0.9574 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.7095, allocations: 52.03 kB / 0.9574 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.7095, allocations: 7.938 kB / 0.9574 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.7096, allocations: 0 / 0.9574 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7096, allocations: 4 kB / 0.9574 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/0.7126, allocations: 1.136 MB / 0.9585 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.7127, allocations: 0 / 0.9585 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.7129, allocations: 35.95 kB / 0.9586 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005181/0.7134, allocations: 192.2 kB / 0.9587 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.7135, allocations: 4 kB / 0.9588 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003474/0.7169, allocations: 2.179 MB / 0.9609 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.717, allocations: 0 / 0.9609 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/0.7194, allocations: 0.704 MB / 0.9616 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.7198, allocations: 165.3 kB / 0.9617 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.7199, allocations: 8 kB / 0.9617 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/0.7205, allocations: 50.12 kB / 0.9618 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.7206, allocations: 19.86 kB / 0.9618 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/0.7207, allocations: 11.98 kB / 0.9618 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005328/0.7212, allocations: 390.8 kB / 0.9622 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7212, allocations: 0 / 0.9622 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007398/0.722, allocations: 183.7 kB / 0.9624 GB, free: 9.223 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 (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004902/0.7225, allocations: 185.1 kB / 0.9625 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.7241, allocations: 0.5221 MB / 0.963 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7241, allocations: 0 / 0.963 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007422/0.7248, allocations: 306.6 kB / 0.9633 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.7263, allocations: 296.2 kB / 0.9636 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.7294, allocations: 1.072 MB / 0.9647 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.7298, allocations: 0.8621 MB / 0.9655 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004023/0.7303, allocations: 108.5 kB / 0.9656 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.78e-05/0.7304, allocations: 35.44 kB / 0.9656 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.7304, allocations: 4 kB / 0.9656 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of Templates: time 0.02092/0.7513, allocations: 12.69 MB / 0.978 GB, free: 9.293 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)