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.006755/0.006755, allocations: 100.9 kB / 15.73 MB, free: 5.992 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.001331/0.00133, allocations: 195.9 kB / 16.67 MB, free: 5.93 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.021/1.021, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.91 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4629, allocations: 80.91 MB / 0.6641 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1921/0.655, allocations: 171 MB / 0.8311 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007122/0.6622, allocations: 4.281 MB / 0.8353 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.6633, allocations: 19.88 kB / 0.8353 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.6644, allocations: 354 kB / 0.8357 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.6674, allocations: 0.9954 MB / 0.8366 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.6698, allocations: 0.8113 MB / 0.8374 GB, free: 15.49 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002054/0.6719, allocations: 1.298 MB / 0.8387 GB, free: 14.19 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008685/0.6728, allocations: 483.3 kB / 0.8391 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.6746, allocations: 0.681 MB / 0.8398 GB, free: 13.03 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.676, allocations: 446.3 kB / 0.8402 GB, free: 12.59 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.6763, allocations: 52 kB / 0.8403 GB, free: 12.54 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.6785, allocations: 0.916 MB / 0.8412 GB, free: 11.62 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003425/0.6789, allocations: 215.5 kB / 0.8414 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006029/0.6795, allocations: 330.5 kB / 0.8417 GB, free: 11.09 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.6817, allocations: 1.134 MB / 0.8428 GB, free: 9.949 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6817, allocations: 4 kB / 0.8428 GB, free: 9.945 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.677e-06/0.6817, allocations: 0 / 0.8428 GB, free: 9.945 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.671e-05/0.6818, allocations: 3.938 kB / 0.8428 GB, free: 9.941 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.002216/0.684, allocations: 0.935 MB / 0.8437 GB, free: 8.957 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.6841, allocations: 12.03 kB / 0.8437 GB, free: 8.945 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.6842, allocations: 86.47 kB / 0.8438 GB, free: 8.852 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.686, allocations: 263 kB / 0.8441 GB, free: 8.594 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.6871, allocations: 0.4974 MB / 0.8446 GB, free: 8.059 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.6871, allocations: 29 kB / 0.8446 GB, free: 8.031 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/0.6872, allocations: 43.94 kB / 0.8446 GB, free: 7.988 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.6887, allocations: 0.6185 MB / 0.8452 GB, free: 7.348 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.6887, allocations: 0 / 0.8452 GB, free: 7.348 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.6888, allocations: 16 kB / 0.8452 GB, free: 7.332 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/0.6888, allocations: 20.94 kB / 0.8453 GB, free: 7.309 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.6903, allocations: 0.5581 MB / 0.8458 GB, free: 6.754 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.00457/0.6949, allocations: 2.253 MB / 0.848 GB, free: 4.371 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.696, allocations: 278.3 kB / 0.8483 GB, free: 4.09 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/0.6965, allocations: 168.9 kB / 0.8484 GB, free: 3.922 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.6966, allocations: 7.938 kB / 0.8484 GB, free: 3.914 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.6966, allocations: 34.56 kB / 0.8485 GB, free: 3.871 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/0.6966, allocations: 3.938 kB / 0.8485 GB, free: 3.867 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.005364/0.702, allocations: 1.095 MB / 0.8496 GB, free: 2.742 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.7021, allocations: 81.11 kB / 0.8496 GB, free: 2.645 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007528/0.7028, allocations: 0.5458 MB / 0.8502 GB, free: 2.086 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.7029, allocations: 33.7 kB / 0.8502 GB, free: 2.047 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.7031, allocations: 299.5 kB / 0.8505 GB, free: 1.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.7032, allocations: 39.45 kB / 0.8505 GB, free: 1.711 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.7033, allocations: 61.59 kB / 0.8506 GB, free: 1.645 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.7035, allocations: 354.8 kB / 0.8509 GB, free: 1.289 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/0.7041, allocations: 199.8 kB / 0.8511 GB, free: 1.094 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.7048, allocations: 272.1 kB / 0.8514 GB, free: 0.793 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.7059, allocations: 409.9 kB / 0.8518 GB, free: 372 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.706, allocations: 3.938 kB / 0.8518 GB, free: 368 kB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002697/0.7087, allocations: 0.72 MB / 0.8525 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.7087, allocations: 4 kB / 0.8525 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.7087, allocations: 4.094 kB / 0.8525 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006671/0.7094, allocations: 188.7 kB / 0.8527 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.7098, allocations: 75.88 kB / 0.8527 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004005/0.7138, allocations: 2.243 MB / 0.8549 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.7145, allocations: 71.48 kB / 0.855 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.7145, allocations: 12 kB / 0.855 GB, free: 12.91 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.0002726/0.7148, allocations: 189.8 kB / 0.8552 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.715, allocations: 59.36 kB / 0.8552 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.7151, allocations: 48.05 kB / 0.8553 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.7151, allocations: 4 kB / 0.8553 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.7151, allocations: 0 / 0.8553 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.7151, allocations: 3.984 kB / 0.8553 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.7183, allocations: 1.125 MB / 0.8564 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.7184, allocations: 4.062 kB / 0.8564 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.7186, allocations: 39.89 kB / 0.8564 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005413/0.7192, allocations: 188.7 kB / 0.8566 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.7192, allocations: 7.922 kB / 0.8566 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003636/0.7228, allocations: 2.187 MB / 0.8587 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7229, allocations: 4.031 kB / 0.8588 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/0.7254, allocations: 0.6924 MB / 0.8594 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.7258, allocations: 168.4 kB / 0.8596 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.807e-05/0.7259, allocations: 7.984 kB / 0.8596 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005994/0.7265, allocations: 43.95 kB / 0.8596 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.7266, allocations: 19.98 kB / 0.8597 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.7266, allocations: 11.98 kB / 0.8597 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004971/0.7271, allocations: 394.8 kB / 0.86 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7271, allocations: 3.938 kB / 0.8601 GB, free: 7.461 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006729/0.7278, allocations: 183.8 kB / 0.8602 GB, free: 7.281 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.003186/0.731, allocations: 1.321 MB / 0.8615 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.7327, allocations: 0.5265 MB / 0.862 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7327, allocations: 0 / 0.862 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.7335, allocations: 302.9 kB / 0.8623 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.7351, allocations: 302.7 kB / 0.8626 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3304/1.066, allocations: 5.048 MB / 0.8675 GB, free: 192 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/1.066, allocations: 0.8638 MB / 0.8684 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004984/1.066, allocations: 104.8 kB / 0.8685 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/1.067, allocations: 162.7 kB / 0.8686 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of SimCode: time 9.32e-07/1.067, allocations: 0 / 0.8686 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05204/1.119, allocations: 17.2 MB / 0.8854 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/13.11, allocations: 4.906 kB / 0.8854 GB, free: 184.7 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)