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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="IDEAS_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.007539/0.007539, allocations: 99.97 kB / 15.73 MB, free: 6.031 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.001712/0.001712, allocations: 193.9 kB / 16.67 MB, free: 5.965 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7484/0.7484, allocations: 132.2 MB / 422.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 66.88 kB / 0.5808 GB, free: 1.297 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1582, allocations: 80.21 MB / 0.6592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.588/0.7463, allocations: 171 MB / 0.8261 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006912/0.7533, allocations: 4.286 MB / 0.8303 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.7545, allocations: 19.66 kB / 0.8303 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.7556, allocations: 349.8 kB / 0.8307 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003237/0.7589, allocations: 0.9948 MB / 0.8316 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.7617, allocations: 0.8138 MB / 0.8324 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002103/0.7638, allocations: 1.294 MB / 0.8337 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/0.7646, allocations: 479.7 kB / 0.8342 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.7663, allocations: 0.6801 MB / 0.8348 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.7675, allocations: 453.8 kB / 0.8353 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.7676, allocations: 55.59 kB / 0.8353 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/0.7697, allocations: 0.9138 MB / 0.8362 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.77, allocations: 209.8 kB / 0.8364 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.7705, allocations: 332 kB / 0.8367 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.7726, allocations: 1.142 MB / 0.8378 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7727, allocations: 0 / 0.8378 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7727, allocations: 0.9688 kB / 0.8378 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.7727, allocations: 1.281 kB / 0.8378 GB, free: 2.625 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.001742/0.7744, allocations: 0.9445 MB / 0.8388 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.7745, allocations: 9.594 kB / 0.8388 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.404e-05/0.7746, allocations: 87.28 kB / 0.8388 GB, free: 2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.7762, allocations: 260.9 kB / 0.8391 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009335/0.7772, allocations: 0.4885 MB / 0.8396 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.7772, allocations: 35.41 kB / 0.8396 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.7773, allocations: 39.59 kB / 0.8396 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.7785, allocations: 0.6191 MB / 0.8403 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.7786, allocations: 0.9688 kB / 0.8403 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.7786, allocations: 19.44 kB / 0.8403 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.7787, allocations: 21.81 kB / 0.8403 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.78, allocations: 0.5466 MB / 0.8408 GB, free: 1.613 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.003839/0.7838, allocations: 2.256 MB / 0.843 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/0.7847, allocations: 283.2 kB / 0.8433 GB, free: 16.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.7853, allocations: 167.5 kB / 0.8435 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.7853, allocations: 3.453 kB / 0.8435 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.7853, allocations: 38.28 kB / 0.8435 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 2.805e-06/0.7853, allocations: 0 / 0.8435 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.004953/0.7903, allocations: 1.093 MB / 0.8446 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.7904, allocations: 79.11 kB / 0.8446 GB, free: 16.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.791, allocations: 0.5462 MB / 0.8452 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.7911, allocations: 28.77 kB / 0.8452 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.7912, allocations: 312.5 kB / 0.8455 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.7913, allocations: 34.5 kB / 0.8455 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.7914, allocations: 60.17 kB / 0.8456 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7915, allocations: 357.4 kB / 0.8459 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/0.7921, allocations: 194 kB / 0.8461 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/0.7927, allocations: 276.5 kB / 0.8464 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.7938, allocations: 402.5 kB / 0.8468 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.7938, allocations: 2.469 kB / 0.8468 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002534/0.7964, allocations: 0.7305 MB / 0.8475 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.7964, allocations: 9.375 kB / 0.8475 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.7964, allocations: 5.328 kB / 0.8475 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/0.797, allocations: 189.7 kB / 0.8477 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.7974, allocations: 69.94 kB / 0.8477 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/0.8012, allocations: 2.233 MB / 0.8499 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006962/0.8019, allocations: 77.83 kB / 0.85 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.802, allocations: 14.48 kB / 0.85 GB, free: 13.95 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.0002827/0.8023, allocations: 187 kB / 0.8502 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.8024, allocations: 51.66 kB / 0.8502 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.8025, allocations: 50.28 kB / 0.8503 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.8025, allocations: 6.031 kB / 0.8503 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8025, allocations: 3.719 kB / 0.8503 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.8025, allocations: 5.031 kB / 0.8503 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.8055, allocations: 1.131 MB / 0.8514 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8055, allocations: 3.375 kB / 0.8514 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.8058, allocations: 39.7 kB / 0.8514 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005207/0.8063, allocations: 181.8 kB / 0.8516 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.8063, allocations: 7.922 kB / 0.8516 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/0.8098, allocations: 2.192 MB / 0.8538 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8098, allocations: 0 / 0.8538 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.8123, allocations: 0.7054 MB / 0.8545 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.8127, allocations: 162.5 kB / 0.8546 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.8128, allocations: 5.938 kB / 0.8546 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.8134, allocations: 46.94 kB / 0.8547 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/0.8134, allocations: 12.62 kB / 0.8547 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/0.8135, allocations: 24.17 kB / 0.8547 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004315/0.8139, allocations: 393.1 kB / 0.8551 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8139, allocations: 3.188 kB / 0.8551 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006868/0.8146, allocations: 184.2 kB / 0.8552 GB, free: 11.64 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.003043/0.8177, allocations: 1.316 MB / 0.8565 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.8193, allocations: 0.5163 MB / 0.857 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8193, allocations: 0 / 0.857 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000675/0.82, allocations: 296.2 kB / 0.8573 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.8215, allocations: 308.2 kB / 0.8576 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.8321, allocations: 5.07 MB / 0.8626 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.8325, allocations: 0.8669 MB / 0.8634 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000491/0.833, allocations: 107.6 kB / 0.8635 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.8332, allocations: 163 kB / 0.8637 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.8332, allocations: 0 / 0.8637 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04284/0.8761, allocations: 17.18 MB / 0.8804 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.58, allocations: 7.781 kB / 0.8805 GB, free: 2.938 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)