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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006582/0.006582, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.001323/0.001322, allocations: 188.1 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7532/0.7532, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.47 kB / 0.5813 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.185, allocations: 80.21 MB / 0.6597 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6345/0.8196, allocations: 171 MB / 0.8266 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006505/0.8261, allocations: 4.282 MB / 0.8308 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.8272, allocations: 20.47 kB / 0.8308 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.8284, allocations: 372.4 kB / 0.8312 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.8313, allocations: 1.022 MB / 0.8322 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.8337, allocations: 0.8211 MB / 0.833 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001976/0.8357, allocations: 1.302 MB / 0.8343 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007935/0.8365, allocations: 481.4 kB / 0.8347 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.8381, allocations: 0.6964 MB / 0.8354 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.8394, allocations: 449.9 kB / 0.8358 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.8396, allocations: 51.22 kB / 0.8359 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.8417, allocations: 0.9111 MB / 0.8368 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.8421, allocations: 211.3 kB / 0.837 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005728/0.8426, allocations: 333.3 kB / 0.8373 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.8447, allocations: 1.134 MB / 0.8384 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8447, allocations: 2.406 kB / 0.8384 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8447, allocations: 0.9062 kB / 0.8384 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.8447, allocations: 0 / 0.8384 GB, free: 3.352 MB / 0.6387 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.001523/0.8463, allocations: 0.9513 MB / 0.8393 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8463, allocations: 9.625 kB / 0.8393 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.848, allocations: 260.9 kB / 0.8396 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008508/0.8489, allocations: 0.4891 MB / 0.8401 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.8489, allocations: 34.81 kB / 0.8401 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.849, allocations: 43.59 kB / 0.8401 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.8502, allocations: 0.6138 MB / 0.8407 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.8502, allocations: 2.125 kB / 0.8407 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.8503, allocations: 18.31 kB / 0.8408 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.8503, allocations: 24.92 kB / 0.8408 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.8517, allocations: 0.543 MB / 0.8413 GB, free: 2.379 MB / 0.6387 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.003426/0.8551, allocations: 2.262 MB / 0.8435 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009027/0.856, allocations: 278.6 kB / 0.8438 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/0.8566, allocations: 164.2 kB / 0.8439 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.8566, allocations: 7.25 kB / 0.8439 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.8566, allocations: 35.41 kB / 0.844 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=11): time 2.896e-06/0.8566, allocations: 0 / 0.844 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.004982/0.8616, allocations: 1.098 MB / 0.8451 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.8617, allocations: 80.67 kB / 0.8451 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.8623, allocations: 0.544 MB / 0.8457 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.8624, allocations: 29.52 kB / 0.8457 GB, free: 0.875 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.8625, allocations: 312.8 kB / 0.846 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.8626, allocations: 42.2 kB / 0.846 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.8627, allocations: 62.5 kB / 0.8461 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.863, allocations: 357.7 kB / 0.8464 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.8636, allocations: 192.4 kB / 0.8466 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.8642, allocations: 273.2 kB / 0.8469 GB, free: 16.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.8653, allocations: 405.2 kB / 0.8473 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8653, allocations: 0.7812 kB / 0.8473 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002603/0.8679, allocations: 0.7295 MB / 0.848 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.8679, allocations: 4.906 kB / 0.848 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.8679, allocations: 2.312 kB / 0.848 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/0.8685, allocations: 192.6 kB / 0.8482 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.8689, allocations: 71.47 kB / 0.8482 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/0.8727, allocations: 2.239 MB / 0.8504 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.8734, allocations: 72.38 kB / 0.8505 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.8734, allocations: 11.42 kB / 0.8505 GB, free: 14.71 MB / 0.6544 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.0002716/0.8737, allocations: 188.2 kB / 0.8507 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/0.8738, allocations: 51.16 kB / 0.8507 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.828e-05/0.8739, allocations: 53.73 kB / 0.8508 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8739, allocations: 7.828 kB / 0.8508 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.8739, allocations: 3.938 kB / 0.8508 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8739, allocations: 1.188 kB / 0.8508 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.8769, allocations: 1.128 MB / 0.8519 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8769, allocations: 3.375 kB / 0.8519 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.8771, allocations: 40.06 kB / 0.8519 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005075/0.8776, allocations: 186.1 kB / 0.8521 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.8777, allocations: 3.562 kB / 0.8521 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003518/0.8812, allocations: 2.189 MB / 0.8542 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8812, allocations: 0 / 0.8542 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.8837, allocations: 0.7033 MB / 0.8549 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/0.884, allocations: 170.7 kB / 0.8551 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.8841, allocations: 3.125 kB / 0.8551 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006085/0.8847, allocations: 52.75 kB / 0.8552 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.8848, allocations: 12.58 kB / 0.8552 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.8848, allocations: 16.84 kB / 0.8552 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004165/0.8852, allocations: 391.7 kB / 0.8556 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8853, allocations: 3.188 kB / 0.8556 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006601/0.8859, allocations: 181.1 kB / 0.8557 GB, free: 12.42 MB / 0.6544 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.0004468/0.8864, allocations: 174.5 kB / 0.8559 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.888, allocations: 0.5249 MB / 0.8564 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.888, allocations: 4.062 kB / 0.8564 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007131/0.8887, allocations: 296.2 kB / 0.8567 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.8902, allocations: 308.2 kB / 0.857 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.8932, allocations: 1.065 MB / 0.858 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.8936, allocations: 0.8634 MB / 0.8589 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000411/0.8941, allocations: 106.7 kB / 0.859 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.8942, allocations: 34.12 kB / 0.859 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of SimCode: time 1.022e-06/0.8942, allocations: 0 / 0.859 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.02089/0.9151, allocations: 12.47 MB / 0.8712 GB, free: 8.746 MB / 0.6544 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)