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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7859/0.7859, allocations: 133.4 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 404.7 MB, free: 6.062 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 99.25 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 55.91 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1452, allocations: 80.43 MB / 0.6421 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4891/0.6343, allocations: 168.7 MB / 0.8069 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.005753/0.6401, allocations: 4.342 MB / 0.8112 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000444/0.6406, allocations: 19.88 kB / 0.8112 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0008201/0.6414, allocations: 302.5 kB / 0.8115 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.6433, allocations: 0.9375 MB / 0.8124 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.6451, allocations: 0.7184 MB / 0.8131 GB, free: 2.137 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001799/0.6469, allocations: 1.795 MB / 0.8148 GB, free: 344 kB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005356/0.6475, allocations: 422.8 kB / 0.8152 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.6485, allocations: 0.5953 MB / 0.8158 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.6495, allocations: 465.8 kB / 0.8163 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.302e-05/0.6496, allocations: 28 kB / 0.8163 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.6512, allocations: 1.009 MB / 0.8173 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.6514, allocations: 191.4 kB / 0.8175 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.6517, allocations: 302.5 kB / 0.8177 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.6529, allocations: 1.153 MB / 0.8189 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.653, allocations: 0 / 0.8189 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.845e-06/0.653, allocations: 0 / 0.8189 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.653, allocations: 3.938 kB / 0.8189 GB, free: 12.19 MB / 0.5573 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.001566/0.6545, allocations: 0.9505 MB / 0.8198 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.6546, allocations: 12.03 kB / 0.8198 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.6562, allocations: 255.1 kB / 0.8201 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007985/0.657, allocations: 493.3 kB / 0.8205 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.6573, allocations: 88.92 kB / 0.8206 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.6574, allocations: 40 kB / 0.8207 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.6587, allocations: 0.6262 MB / 0.8213 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6587, allocations: 4 kB / 0.8213 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.6587, allocations: 16 kB / 0.8213 GB, free: 9.605 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.6588, allocations: 24.98 kB / 0.8213 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.6603, allocations: 0.5551 MB / 0.8218 GB, free: 9.023 MB / 0.5573 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.003916/0.6642, allocations: 2.272 MB / 0.8241 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.6652, allocations: 298.3 kB / 0.8244 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006135/0.6659, allocations: 172.7 kB / 0.8245 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.6659, allocations: 7.922 kB / 0.8245 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.6659, allocations: 38.56 kB / 0.8246 GB, free: 6.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.6659, allocations: 4.156 kB / 0.8246 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.005441/0.6714, allocations: 1.104 MB / 0.8256 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.6714, allocations: 81.05 kB / 0.8257 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005953/0.672, allocations: 0.5535 MB / 0.8263 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.6721, allocations: 29.7 kB / 0.8263 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.6723, allocations: 299.5 kB / 0.8266 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.6723, allocations: 43.45 kB / 0.8266 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.6725, allocations: 57.61 kB / 0.8267 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6726, allocations: 358.8 kB / 0.827 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006514/0.6732, allocations: 195.8 kB / 0.8272 GB, free: 3.301 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.674, allocations: 282.1 kB / 0.8275 GB, free: 2.988 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.6752, allocations: 430.8 kB / 0.8279 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6752, allocations: 0 / 0.8279 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002759/0.678, allocations: 0.7316 MB / 0.8286 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.678, allocations: 12.09 kB / 0.8286 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.678, allocations: 0 / 0.8286 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/0.6787, allocations: 188.7 kB / 0.8288 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.6791, allocations: 71.88 kB / 0.8289 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00365/0.6828, allocations: 2.082 MB / 0.8309 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/0.6834, allocations: 83.45 kB / 0.831 GB, free: 15.24 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.6834, allocations: 19.98 kB / 0.831 GB, free: 15.22 MB / 0.573 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.0002257/0.6837, allocations: 191.1 kB / 0.8312 GB, free: 15.02 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.6838, allocations: 51.44 kB / 0.8312 GB, free: 14.97 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.148e-05/0.6839, allocations: 48.03 kB / 0.8313 GB, free: 14.93 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6839, allocations: 7.938 kB / 0.8313 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.6839, allocations: 0 / 0.8313 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6839, allocations: 0 / 0.8313 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.6871, allocations: 1.144 MB / 0.8324 GB, free: 13.71 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6871, allocations: 192 / 0.8324 GB, free: 13.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.6873, allocations: 48.02 kB / 0.8324 GB, free: 13.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005361/0.6879, allocations: 180.7 kB / 0.8326 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.6879, allocations: 4 kB / 0.8326 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003351/0.6913, allocations: 2.03 MB / 0.8346 GB, free: 11.32 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6913, allocations: 7.969 kB / 0.8346 GB, free: 11.31 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003473/0.6948, allocations: 1.541 MB / 0.8361 GB, free: 9.699 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.695, allocations: 172.5 kB / 0.8363 GB, free: 9.512 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/0.6951, allocations: 3.984 kB / 0.8363 GB, free: 9.508 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005968/0.6957, allocations: 59.88 kB / 0.8363 GB, free: 9.449 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.6958, allocations: 15.92 kB / 0.8363 GB, free: 9.434 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.6958, allocations: 16.17 kB / 0.8364 GB, free: 9.418 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004053/0.6962, allocations: 394.8 kB / 0.8367 GB, free: 9.035 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6962, allocations: 0 / 0.8367 GB, free: 9.035 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000687/0.6969, allocations: 187.7 kB / 0.8369 GB, free: 8.852 MB / 0.573 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.0003633/0.6973, allocations: 177.6 kB / 0.8371 GB, free: 8.676 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.6989, allocations: 0.5257 MB / 0.8376 GB, free: 8.137 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.699, allocations: 0 / 0.8376 GB, free: 8.137 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007716/0.6997, allocations: 314.9 kB / 0.8379 GB, free: 7.816 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.7011, allocations: 296.9 kB / 0.8382 GB, free: 7.527 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.7042, allocations: 1.375 MB / 0.8395 GB, free: 6.109 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.7046, allocations: 0.8624 MB / 0.8404 GB, free: 5.219 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004056/0.7051, allocations: 106.7 kB / 0.8405 GB, free: 5.113 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.349e-05/0.7052, allocations: 39.42 kB / 0.8405 GB, free: 5.074 MB / 0.573 GB Notification: Performance of SimCode: time 3.71e-07/0.7052, allocations: 0 / 0.8405 GB, free: 5.074 MB / 0.573 GB Notification: Performance of Templates: time 0.01692/0.7221, allocations: 12.16 MB / 0.8524 GB, free: 9.07 MB / 0.5886 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)