Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.000874/0.0008743, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.006232/0.006232, allocations: 171.2 kB / 16.26 MB, free: 6.68 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.474/1.474, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.982/0.982, allocations: 135.3 MB / 426.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003661, allocations: 12 kB / 0.5076 GB, free: 4.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1843, allocations: 82.31 MB / 0.588 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6002/0.7846, allocations: 166.5 MB / 0.7506 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007482/0.7921, allocations: 4.286 MB / 0.7548 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008368/0.793, allocations: 18.5 kB / 0.7548 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009282/0.7939, allocations: 306 kB / 0.7551 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.7963, allocations: 0.9375 MB / 0.756 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.7984, allocations: 0.7267 MB / 0.7567 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002218/0.8006, allocations: 1.783 MB / 0.7584 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006087/0.8012, allocations: 412.9 kB / 0.7588 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.8026, allocations: 0.586 MB / 0.7594 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.8037, allocations: 441.7 kB / 0.7598 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.903e-05/0.8038, allocations: 24 kB / 0.7598 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.8058, allocations: 0.9976 MB / 0.7608 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.8061, allocations: 191.3 kB / 0.761 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.8065, allocations: 312.3 kB / 0.7613 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.8081, allocations: 1.137 MB / 0.7624 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.8082, allocations: 0 / 0.7624 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8082, allocations: 0 / 0.7624 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.8082, allocations: 0 / 0.7624 GB, free: 9.941 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.001593/0.8098, allocations: 0.8453 MB / 0.7632 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.8098, allocations: 8.031 kB / 0.7632 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.8116, allocations: 283 kB / 0.7635 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/0.8124, allocations: 489.4 kB / 0.764 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003551/0.8128, allocations: 96.92 kB / 0.7641 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.77e-05/0.8129, allocations: 40 kB / 0.7641 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.8142, allocations: 0.6419 MB / 0.7647 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.8143, allocations: 3.984 kB / 0.7647 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/0.8143, allocations: 16 kB / 0.7648 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.8144, allocations: 17 kB / 0.7648 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.816, allocations: 0.5971 MB / 0.7654 GB, free: 6.816 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.004179/0.8202, allocations: 2.3 MB / 0.7676 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.8212, allocations: 318.2 kB / 0.7679 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005895/0.8218, allocations: 188.7 kB / 0.7681 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.8219, allocations: 4 kB / 0.7681 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.8219, allocations: 38.56 kB / 0.7681 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 2.265e-06/0.8219, allocations: 0 / 0.7681 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005536/0.8274, allocations: 1.193 MB / 0.7693 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.8275, allocations: 85.05 kB / 0.7694 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007402/0.8283, allocations: 0.5419 MB / 0.7699 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.8283, allocations: 33.7 kB / 0.7699 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.8286, allocations: 311.3 kB / 0.7702 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.8287, allocations: 35.53 kB / 0.7703 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.8287, allocations: 25.72 kB / 0.7703 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.8289, allocations: 358.8 kB / 0.7706 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006722/0.8296, allocations: 213.6 kB / 0.7708 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007294/0.8303, allocations: 295.8 kB / 0.7711 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.8317, allocations: 443 kB / 0.7715 GB, free: 184 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.8317, allocations: 0 / 0.7715 GB, free: 184 kB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003023/0.8347, allocations: 0.7941 MB / 0.7723 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.8348, allocations: 4 kB / 0.7723 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.8348, allocations: 4 kB / 0.7723 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006985/0.8355, allocations: 190 kB / 0.7725 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.8359, allocations: 79.89 kB / 0.7726 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003869/0.8398, allocations: 2.12 MB / 0.7746 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000721/0.8405, allocations: 87.48 kB / 0.7747 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.8406, allocations: 12 kB / 0.7747 GB, free: 12.76 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 (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.000363/0.8409, allocations: 193.7 kB / 0.7749 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.8411, allocations: 51.44 kB / 0.775 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.8412, allocations: 52.03 kB / 0.775 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.8413, allocations: 3.938 kB / 0.775 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.8413, allocations: 0 / 0.775 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.8413, allocations: 7.984 kB / 0.775 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003547/0.8448, allocations: 1.184 MB / 0.7762 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8449, allocations: 0 / 0.7762 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.8451, allocations: 51.95 kB / 0.7762 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005838/0.8457, allocations: 192.1 kB / 0.7764 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.8458, allocations: 4 kB / 0.7764 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004482/0.8503, allocations: 2.069 MB / 0.7784 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.8503, allocations: 4.125 kB / 0.7785 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00317/0.8535, allocations: 0.7585 MB / 0.7792 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/0.8539, allocations: 168.5 kB / 0.7794 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.8541, allocations: 4 kB / 0.7794 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000739/0.8549, allocations: 65.98 kB / 0.7794 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.855, allocations: 11.98 kB / 0.7794 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.072e-05/0.855, allocations: 15.98 kB / 0.7794 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007153/0.8557, allocations: 398.8 kB / 0.7798 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8558, allocations: 0 / 0.7798 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000976/0.8567, allocations: 187.7 kB / 0.78 GB, free: 7.117 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.0006036/0.8574, allocations: 179.5 kB / 0.7802 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.8592, allocations: 0.557 MB / 0.7807 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.8592, allocations: 4 kB / 0.7807 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008769/0.8601, allocations: 315 kB / 0.781 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.8621, allocations: 297 kB / 0.7813 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.8656, allocations: 1.299 MB / 0.7826 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.8662, allocations: 0.8662 MB / 0.7834 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005594/0.8668, allocations: 108.5 kB / 0.7835 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.8669, allocations: 35.42 kB / 0.7836 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.8669, allocations: 0 / 0.7836 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of Templates: time 0.02123/0.8882, allocations: 11.79 MB / 0.7951 GB, free: 7.789 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)