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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006686/0.006686, allocations: 106.1 kB / 15.74 MB, free: 6.449 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.001777/0.001777, allocations: 196.2 kB / 16.67 MB, free: 6.355 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9624/0.9624, allocations: 135.5 MB / 426.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 67.89 kB / 0.5857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.378, allocations: 81.02 MB / 0.6649 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1961/0.5741, allocations: 171 MB / 0.8318 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006466/0.5806, allocations: 4.278 MB / 0.836 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006014/0.5813, allocations: 23.88 kB / 0.836 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009353/0.5822, allocations: 354 kB / 0.8364 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.5845, allocations: 0.9876 MB / 0.8373 GB, free: 15.66 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.5866, allocations: 0.825 MB / 0.8381 GB, free: 14.85 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.5883, allocations: 1.282 MB / 0.8394 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006689/0.5889, allocations: 491.2 kB / 0.8399 GB, free: 13.07 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.5902, allocations: 0.6693 MB / 0.8405 GB, free: 12.4 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.5912, allocations: 442.3 kB / 0.8409 GB, free: 11.97 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.5913, allocations: 52 kB / 0.841 GB, free: 11.92 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.5929, allocations: 0.9082 MB / 0.8419 GB, free: 11.01 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.5932, allocations: 219.4 kB / 0.8421 GB, free: 10.79 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.5936, allocations: 330.5 kB / 0.8424 GB, free: 10.47 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.5952, allocations: 1.142 MB / 0.8435 GB, free: 9.324 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5952, allocations: 4 kB / 0.8435 GB, free: 9.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5953, allocations: 0 / 0.8435 GB, free: 9.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.5953, allocations: 0 / 0.8435 GB, free: 9.32 MB / 0.67 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.001684/0.597, allocations: 0.9727 MB / 0.8445 GB, free: 8.297 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.597, allocations: 12.03 kB / 0.8445 GB, free: 8.285 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.5972, allocations: 78.53 kB / 0.8445 GB, free: 8.199 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/0.5996, allocations: 267.4 kB / 0.8448 GB, free: 7.938 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.6005, allocations: 0.4939 MB / 0.8453 GB, free: 7.406 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.6005, allocations: 36.94 kB / 0.8453 GB, free: 7.371 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.6006, allocations: 40 kB / 0.8454 GB, free: 7.332 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.6019, allocations: 0.6185 MB / 0.846 GB, free: 6.691 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.6019, allocations: 7.875 kB / 0.846 GB, free: 6.684 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-05/0.602, allocations: 20 kB / 0.846 GB, free: 6.664 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.602, allocations: 17 kB / 0.846 GB, free: 6.645 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.6034, allocations: 0.5542 MB / 0.8465 GB, free: 6.094 MB / 0.67 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.003903/0.6073, allocations: 2.273 MB / 0.8488 GB, free: 3.691 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009199/0.6082, allocations: 278.3 kB / 0.849 GB, free: 3.41 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.6088, allocations: 164.7 kB / 0.8492 GB, free: 3.246 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.6088, allocations: 4 kB / 0.8492 GB, free: 3.242 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.6089, allocations: 38.56 kB / 0.8492 GB, free: 3.195 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/0.6089, allocations: 224 / 0.8492 GB, free: 3.195 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.005033/0.6139, allocations: 1.092 MB / 0.8503 GB, free: 2.074 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.614, allocations: 85.11 kB / 0.8504 GB, free: 1.973 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006703/0.6147, allocations: 0.5496 MB / 0.8509 GB, free: 1.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.6147, allocations: 29.7 kB / 0.8509 GB, free: 1.375 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.6149, allocations: 308 kB / 0.8512 GB, free: 1.07 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.615, allocations: 39.67 kB / 0.8513 GB, free: 1.031 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.6151, allocations: 65.64 kB / 0.8513 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6153, allocations: 354.8 kB / 0.8517 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.6159, allocations: 191.8 kB / 0.8519 GB, free: 428 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006655/0.6166, allocations: 271.6 kB / 0.8521 GB, free: 120 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.6177, allocations: 409.7 kB / 0.8525 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.6178, allocations: 3.938 kB / 0.8525 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002626/0.6204, allocations: 0.7339 MB / 0.8532 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.6204, allocations: 4 kB / 0.8532 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6204, allocations: 4 kB / 0.8532 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006247/0.6211, allocations: 184.8 kB / 0.8534 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.6214, allocations: 79.88 kB / 0.8535 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05294/0.6744, allocations: 2.224 MB / 0.8557 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.6755, allocations: 79.69 kB / 0.8557 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.6755, allocations: 16 kB / 0.8557 GB, free: 12.23 MB / 0.6856 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.0004256/0.676, allocations: 189.8 kB / 0.8559 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.6762, allocations: 59.61 kB / 0.856 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.6763, allocations: 48.03 kB / 0.856 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.6763, allocations: 4 kB / 0.856 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.6764, allocations: 0 / 0.856 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6764, allocations: 3.984 kB / 0.856 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/0.681, allocations: 1.14 MB / 0.8572 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.681, allocations: 0 / 0.8572 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.6813, allocations: 44.02 kB / 0.8572 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007926/0.6821, allocations: 184.6 kB / 0.8574 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.6822, allocations: 7.984 kB / 0.8574 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004904/0.6871, allocations: 2.176 MB / 0.8595 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.6871, allocations: 4.031 kB / 0.8595 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.6896, allocations: 0.7003 MB / 0.8602 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.6899, allocations: 176.6 kB / 0.8604 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/0.6899, allocations: 4 kB / 0.8604 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.6905, allocations: 49.62 kB / 0.8604 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.6905, allocations: 15.92 kB / 0.8604 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.6906, allocations: 19.98 kB / 0.8604 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004911/0.6911, allocations: 394.8 kB / 0.8608 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6911, allocations: 0 / 0.8608 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006849/0.6918, allocations: 179.8 kB / 0.861 GB, free: 6.59 MB / 0.6856 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.003021/0.6948, allocations: 1.317 MB / 0.8623 GB, free: 5.246 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.6964, allocations: 0.5257 MB / 0.8628 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6964, allocations: 96 / 0.8628 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007204/0.6971, allocations: 302.9 kB / 0.8631 GB, free: 4.398 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.6985, allocations: 300.8 kB / 0.8634 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3136/1.012, allocations: 5.083 MB / 0.8683 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/1.013, allocations: 0.8634 MB / 0.8692 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005104/1.013, allocations: 100.5 kB / 0.8693 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/1.013, allocations: 164.6 kB / 0.8694 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of SimCode: time 8.62e-07/1.013, allocations: 0 / 0.8694 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2732/1.287, allocations: 16.92 MB / 0.886 GB, free: 184 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.84, allocations: 5.688 kB / 0.886 GB, free: 184 MB / 0.6856 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)