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.001594/0.001594, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002433/0.002433, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.494/2.494, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.93/1.93, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006599/0.0006603, allocations: 8 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3179, allocations: 82.31 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.8383/1.156, allocations: 143 MB / 0.7269 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01301/1.169, allocations: 4.113 MB / 0.7309 GB, free: 3.828 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/1.171, allocations: 18.88 kB / 0.731 GB, free: 3.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/1.174, allocations: 319.4 kB / 0.7313 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007121/1.181, allocations: 0.9967 MB / 0.7322 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00476/1.186, allocations: 0.7718 MB / 0.733 GB, free: 2.637 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003497/1.189, allocations: 0.7632 MB / 0.7337 GB, free: 2.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/1.191, allocations: 363.4 kB / 0.7341 GB, free: 2.129 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003156/1.194, allocations: 0.5145 MB / 0.7346 GB, free: 1.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/1.195, allocations: 292.4 kB / 0.7349 GB, free: 1.781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001516/1.195, allocations: 20.94 kB / 0.7349 GB, free: 1.781 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/1.199, allocations: 0.6354 MB / 0.7355 GB, free: 1.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005012/1.199, allocations: 163.2 kB / 0.7357 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004372/1.2, allocations: 146.6 kB / 0.7358 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00274/1.202, allocations: 0.7987 MB / 0.7366 GB, free: 1.293 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/1.202, allocations: 0 / 0.7366 GB, free: 1.293 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.887e-06/1.202, allocations: 0 / 0.7366 GB, free: 1.293 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.453e-05/1.202, allocations: 0 / 0.7366 GB, free: 1.293 MB / 0.545 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.003369/1.206, allocations: 0.8441 MB / 0.7374 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.053e-05/1.206, allocations: 9.281 kB / 0.7374 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002956/1.206, allocations: 84.58 kB / 0.7375 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/1.209, allocations: 298.5 kB / 0.7378 GB, free: 0.543 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/1.211, allocations: 464.7 kB / 0.7382 GB, free: 224 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005132/1.212, allocations: 106.7 kB / 0.7383 GB, free: 192 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.212, allocations: 42.19 kB / 0.7384 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/1.214, allocations: 0.6261 MB / 0.739 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/1.214, allocations: 0 / 0.739 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/1.214, allocations: 28.53 kB / 0.739 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/1.214, allocations: 24.64 kB / 0.739 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002893/1.217, allocations: 0.584 MB / 0.7396 GB, free: 15.71 MB / 0.5606 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.008375/1.226, allocations: 2.302 MB / 0.7418 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/1.228, allocations: 316.6 kB / 0.7422 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/1.228, allocations: 0 / 0.7422 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/1.228, allocations: 38.56 kB / 0.7422 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 2.154e-06/1.228, allocations: 0 / 0.7422 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.009632/1.238, allocations: 1.187 MB / 0.7433 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/1.238, allocations: 81.11 kB / 0.7434 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/1.239, allocations: 0.5456 MB / 0.744 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/1.239, allocations: 33.7 kB / 0.744 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/1.24, allocations: 295.5 kB / 0.7443 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.974e-05/1.24, allocations: 47.38 kB / 0.7443 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/1.24, allocations: 8 kB / 0.7443 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.24, allocations: 362.8 kB / 0.7447 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/1.241, allocations: 199.8 kB / 0.7449 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/1.242, allocations: 303.8 kB / 0.7451 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/1.243, allocations: 207.9 kB / 0.7453 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/1.243, allocations: 0 / 0.7453 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.004965/1.248, allocations: 0.7919 MB / 0.7461 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/1.248, allocations: 12.09 kB / 0.7461 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.248, allocations: 0 / 0.7461 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/1.249, allocations: 188.7 kB / 0.7463 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/1.25, allocations: 79.88 kB / 0.7464 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008432/1.259, allocations: 2.231 MB / 0.7486 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/1.26, allocations: 95.38 kB / 0.7487 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/1.26, allocations: 12 kB / 0.7487 GB, free: 6.703 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006833/1.261, allocations: 202.2 kB / 0.7489 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/1.261, allocations: 47.44 kB / 0.7489 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/1.262, allocations: 52.05 kB / 0.749 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/1.262, allocations: 3.984 kB / 0.749 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.262, allocations: 5.25 kB / 0.749 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.262, allocations: 0 / 0.749 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005718/1.267, allocations: 1.188 MB / 0.7501 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/1.267, allocations: 0 / 0.7501 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/1.268, allocations: 51.97 kB / 0.7502 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/1.269, allocations: 180.7 kB / 0.7503 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/1.269, allocations: 7.984 kB / 0.7504 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006794/1.276, allocations: 2.109 MB / 0.7524 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/1.276, allocations: 3.984 kB / 0.7524 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004966/1.281, allocations: 0.7855 MB / 0.7532 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007255/1.282, allocations: 164.5 kB / 0.7533 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/1.282, allocations: 7.953 kB / 0.7534 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.283, allocations: 69.02 kB / 0.7534 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.283, allocations: 7.984 kB / 0.7534 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/1.283, allocations: 15.98 kB / 0.7534 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000979/1.284, allocations: 386.8 kB / 0.7538 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.11e-07/1.284, allocations: 8 kB / 0.7538 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001363/1.286, allocations: 183.8 kB / 0.754 GB, free: 0.9883 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006159/1.292, allocations: 1.531 MB / 0.7555 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004195/1.296, allocations: 0.6506 MB / 0.7561 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.296, allocations: 0 / 0.7561 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001426/1.298, allocations: 323 kB / 0.7564 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/1.301, allocations: 293.5 kB / 0.7567 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/1.318, allocations: 4.891 MB / 0.7615 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/1.319, allocations: 0.8738 MB / 0.7623 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00106/1.32, allocations: 106.3 kB / 0.7624 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/1.32, allocations: 163.4 kB / 0.7626 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of SimCode: time 3.306e-06/1.32, allocations: 0 / 0.7626 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.648/2.968, allocations: 15.97 MB / 0.7782 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004578/2.969, allocations: 275.9 kB / 0.7785 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.428/7.397, allocations: 0 / 0.7785 GB, free: 8.09 MB / 0.5919 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/linux/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) Environment - environmentSimulation: