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.001139/0.00114, 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.00116/0.00116, allocations: 195.2 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.347/1.347, 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.002161/0.002161, allocations: 287 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9281/0.9281, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 93.08 kB / 0.5945 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.174, allocations: 86.98 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5517/0.7258, allocations: 168.7 MB / 0.8442 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006477/0.7324, allocations: 4.343 MB / 0.8484 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007116/0.7331, allocations: 17.09 kB / 0.8485 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009743/0.7341, allocations: 302.2 kB / 0.8487 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.7365, allocations: 0.9344 MB / 0.8497 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.7385, allocations: 0.7275 MB / 0.8504 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.7404, allocations: 1.798 MB / 0.8521 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000482/0.7409, allocations: 413.7 kB / 0.8525 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.742, allocations: 0.5933 MB / 0.8531 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009467/0.743, allocations: 478.6 kB / 0.8536 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.7431, allocations: 27.38 kB / 0.8536 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.7446, allocations: 1.005 MB / 0.8546 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.7448, allocations: 197.6 kB / 0.8548 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.7452, allocations: 308.1 kB / 0.855 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.7465, allocations: 1.146 MB / 0.8562 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7466, allocations: 0 / 0.8562 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7466, allocations: 0 / 0.8562 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.7466, allocations: 0 / 0.8562 GB, free: 9.32 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00162/0.7482, allocations: 0.9498 MB / 0.8571 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.7482, allocations: 10.44 kB / 0.8571 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.7499, allocations: 267 kB / 0.8574 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009008/0.7508, allocations: 472.7 kB / 0.8578 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.7511, allocations: 94.34 kB / 0.8579 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/0.7512, allocations: 43.81 kB / 0.8579 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.7524, allocations: 0.6237 MB / 0.8585 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.7524, allocations: 0 / 0.8585 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.7525, allocations: 20.72 kB / 0.8586 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.7525, allocations: 18.94 kB / 0.8586 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.7539, allocations: 0.5564 MB / 0.8591 GB, free: 7.32 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.00402/0.7579, allocations: 2.283 MB / 0.8614 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009409/0.7589, allocations: 292.8 kB / 0.8616 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/0.7595, allocations: 173.1 kB / 0.8618 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.7595, allocations: 3.938 kB / 0.8618 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.7595, allocations: 43.41 kB / 0.8618 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.7595, allocations: 0 / 0.8618 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005095/0.7646, allocations: 1.11 MB / 0.8629 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.7647, allocations: 77.11 kB / 0.863 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006163/0.7653, allocations: 0.5474 MB / 0.8635 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.7654, allocations: 28.23 kB / 0.8636 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.7656, allocations: 307.4 kB / 0.8639 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.7656, allocations: 36.83 kB / 0.8639 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.7658, allocations: 65.16 kB / 0.864 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.7659, allocations: 359 kB / 0.8643 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.7665, allocations: 194.9 kB / 0.8645 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.7671, allocations: 273.7 kB / 0.8647 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.7683, allocations: 418.6 kB / 0.8651 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7683, allocations: 2.656 kB / 0.8651 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002625/0.7709, allocations: 0.7371 MB / 0.8659 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.7709, allocations: 4.812 kB / 0.8659 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.771, allocations: 6.688 kB / 0.8659 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.7716, allocations: 189.4 kB / 0.8661 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.772, allocations: 75.66 kB / 0.8661 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003657/0.7756, allocations: 2.087 MB / 0.8682 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006634/0.7763, allocations: 89 kB / 0.8683 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.7764, allocations: 11.75 kB / 0.8683 GB, free: 0.6055 MB / 0.5762 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.0002506/0.7766, allocations: 189.6 kB / 0.8684 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.652e-05/0.7767, allocations: 50.75 kB / 0.8685 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.121e-05/0.7768, allocations: 50.09 kB / 0.8685 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.7768, allocations: 5.938 kB / 0.8686 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.7768, allocations: 0 / 0.8686 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7768, allocations: 3.938 kB / 0.8686 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.7798, allocations: 1.142 MB / 0.8697 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.7798, allocations: 4.062 kB / 0.8697 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.7801, allocations: 39.73 kB / 0.8697 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/0.7806, allocations: 186.4 kB / 0.8699 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.7806, allocations: 3 kB / 0.8699 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003199/0.7838, allocations: 2.036 MB / 0.8719 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.7838, allocations: 4.062 kB / 0.8719 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.7862, allocations: 0.7155 MB / 0.8726 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.7865, allocations: 166.3 kB / 0.8727 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.7866, allocations: 4.375 kB / 0.8727 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/0.7872, allocations: 62.61 kB / 0.8728 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.7873, allocations: 13.36 kB / 0.8728 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.7873, allocations: 15.33 kB / 0.8728 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004155/0.7877, allocations: 393 kB / 0.8732 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7877, allocations: 0 / 0.8732 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006193/0.7884, allocations: 184.5 kB / 0.8734 GB, free: 12.83 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 (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.0003649/0.7887, allocations: 178.1 kB / 0.8736 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.7903, allocations: 0.5447 MB / 0.8741 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7903, allocations: 0 / 0.8741 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007238/0.791, allocations: 303.1 kB / 0.8744 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.7924, allocations: 289.8 kB / 0.8747 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.7953, allocations: 1.246 MB / 0.8759 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.7957, allocations: 0.8629 MB / 0.8767 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004192/0.7962, allocations: 108.5 kB / 0.8768 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.236e-05/0.7963, allocations: 36.89 kB / 0.8768 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.7963, allocations: 0 / 0.8768 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.01783/0.8141, allocations: 11.85 MB / 0.8884 GB, free: 1.277 MB / 0.5919 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)