Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001144/0.001144, allocations: 183.1 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/package.mo): time 0.7014/0.7014, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.516/1.516, allocations: 222.9 MB / 403.4 MB, free: 7.012 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.0009852/0.0009853, allocations: 103.7 kB / 484.3 MB, free: 8.668 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 47.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1336, allocations: 80.2 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4647/0.5984, allocations: 168.7 MB / 0.8049 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.006256/0.6047, allocations: 4.341 MB / 0.8092 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007881/0.6055, allocations: 19.88 kB / 0.8092 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.6066, allocations: 306.5 kB / 0.8095 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.609, allocations: 0.9375 MB / 0.8104 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.611, allocations: 0.7266 MB / 0.8111 GB, free: 4.094 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.6128, allocations: 1.797 MB / 0.8129 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005137/0.6133, allocations: 410.9 kB / 0.8133 GB, free: 1.887 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.6144, allocations: 0.5992 MB / 0.8138 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.6155, allocations: 475.1 kB / 0.8143 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.332e-05/0.6156, allocations: 28 kB / 0.8143 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.6172, allocations: 0.9977 MB / 0.8153 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.6174, allocations: 199.4 kB / 0.8155 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.6177, allocations: 314.5 kB / 0.8158 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.619, allocations: 1.134 MB / 0.8169 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.619, allocations: 0 / 0.8169 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6191, allocations: 0 / 0.8169 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.6191, allocations: 3.938 kB / 0.8169 GB, free: 14.15 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.001499/0.6206, allocations: 0.9583 MB / 0.8178 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.6206, allocations: 12.03 kB / 0.8178 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.6222, allocations: 255.1 kB / 0.8181 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/0.623, allocations: 497.2 kB / 0.8186 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.6234, allocations: 88.94 kB / 0.8186 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.6234, allocations: 43.94 kB / 0.8187 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.6247, allocations: 0.6263 MB / 0.8193 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.6247, allocations: 0 / 0.8193 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.6248, allocations: 16 kB / 0.8193 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.6248, allocations: 17 kB / 0.8193 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.6263, allocations: 0.5581 MB / 0.8199 GB, free: 10.98 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.003957/0.6302, allocations: 2.284 MB / 0.8221 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.6313, allocations: 294.3 kB / 0.8224 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005946/0.6319, allocations: 176.9 kB / 0.8226 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.6319, allocations: 4 kB / 0.8226 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.632, allocations: 38.56 kB / 0.8226 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=11): time 2.314e-06/0.632, allocations: 0 / 0.8226 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.005254/0.6372, allocations: 1.1 MB / 0.8237 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.6373, allocations: 89.03 kB / 0.8238 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006579/0.638, allocations: 0.5495 MB / 0.8243 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.638, allocations: 29.7 kB / 0.8243 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.6382, allocations: 307.4 kB / 0.8246 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.6383, allocations: 35.45 kB / 0.8246 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.6384, allocations: 65.61 kB / 0.8247 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6385, allocations: 362.7 kB / 0.8251 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.6391, allocations: 191.8 kB / 0.8252 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.6398, allocations: 278.1 kB / 0.8255 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.6411, allocations: 414.7 kB / 0.8259 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6411, allocations: 4 kB / 0.8259 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002815/0.6439, allocations: 0.7394 MB / 0.8266 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6439, allocations: 5.094 kB / 0.8266 GB, free: 3.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.644, allocations: 7.938 kB / 0.8266 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006493/0.6446, allocations: 180.8 kB / 0.8268 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.645, allocations: 71.88 kB / 0.8269 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003734/0.6487, allocations: 2.089 MB / 0.8289 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000673/0.6494, allocations: 91.38 kB / 0.829 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/0.6495, allocations: 8 kB / 0.829 GB, free: 1.18 MB / 0.5573 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.0002921/0.6498, allocations: 195 kB / 0.8292 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.6499, allocations: 47.44 kB / 0.8292 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.65, allocations: 52.05 kB / 0.8293 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.65, allocations: 7.922 kB / 0.8293 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.65, allocations: 0 / 0.8293 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.6501, allocations: 0 / 0.8293 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/0.6533, allocations: 1.156 MB / 0.8304 GB, free: 15.65 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.6533, allocations: 0 / 0.8304 GB, free: 15.65 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.6536, allocations: 36.14 kB / 0.8305 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005491/0.6541, allocations: 188.7 kB / 0.8306 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.6542, allocations: 11.92 kB / 0.8307 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003375/0.6575, allocations: 2.03 MB / 0.8326 GB, free: 13.25 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6576, allocations: 0 / 0.8326 GB, free: 13.25 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003454/0.661, allocations: 1.542 MB / 0.8341 GB, free: 11.64 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.6613, allocations: 164.5 kB / 0.8343 GB, free: 11.46 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.6614, allocations: 8 kB / 0.8343 GB, free: 11.46 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006221/0.662, allocations: 55.88 kB / 0.8344 GB, free: 11.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.6621, allocations: 15.97 kB / 0.8344 GB, free: 11.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.6621, allocations: 15.98 kB / 0.8344 GB, free: 11.37 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004209/0.6625, allocations: 394.8 kB / 0.8348 GB, free: 10.99 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.6625, allocations: 0 / 0.8348 GB, free: 10.99 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000736/0.6633, allocations: 187.7 kB / 0.8349 GB, free: 10.8 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.0003997/0.6637, allocations: 180.2 kB / 0.8351 GB, free: 10.62 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.6653, allocations: 0.5258 MB / 0.8356 GB, free: 10.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6654, allocations: 0 / 0.8356 GB, free: 10.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007753/0.6661, allocations: 311 kB / 0.8359 GB, free: 9.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.6676, allocations: 302.6 kB / 0.8362 GB, free: 9.477 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.6709, allocations: 1.363 MB / 0.8375 GB, free: 8.07 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.6713, allocations: 0.8624 MB / 0.8384 GB, free: 7.18 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004405/0.6718, allocations: 109.7 kB / 0.8385 GB, free: 7.07 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.09e-05/0.6719, allocations: 35.44 kB / 0.8385 GB, free: 7.035 MB / 0.573 GB Notification: Performance of SimCode: time 4.11e-07/0.6719, allocations: 0 / 0.8385 GB, free: 7.035 MB / 0.573 GB Notification: Performance of Templates: time 0.01864/0.6905, allocations: 12.15 MB / 0.8504 GB, free: 11.03 MB / 0.5886 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)