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.009104/0.009104, allocations: 96.31 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.002017/0.002017, allocations: 199.6 kB / 16.68 MB, free: 5.969 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.541/1.541, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9917/0.9917, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 59.91 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4695, allocations: 81.02 MB / 0.6649 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.201/0.6705, allocations: 171 MB / 0.8318 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007034/0.6776, allocations: 4.281 MB / 0.836 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008968/0.6785, allocations: 19.88 kB / 0.836 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.6797, allocations: 354 kB / 0.8364 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.6824, allocations: 0.9876 MB / 0.8373 GB, free: 15.64 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.6849, allocations: 0.817 MB / 0.8381 GB, free: 14.83 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002105/0.687, allocations: 1.298 MB / 0.8394 GB, free: 13.53 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007643/0.6878, allocations: 471.3 kB / 0.8398 GB, free: 13.06 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.6893, allocations: 0.681 MB / 0.8405 GB, free: 12.38 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.6904, allocations: 455.9 kB / 0.8409 GB, free: 11.94 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.6905, allocations: 55.94 kB / 0.841 GB, free: 11.88 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.6924, allocations: 0.9121 MB / 0.8419 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.6927, allocations: 211.4 kB / 0.8421 GB, free: 10.76 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004037/0.6931, allocations: 326.5 kB / 0.8424 GB, free: 10.44 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.6949, allocations: 1.141 MB / 0.8435 GB, free: 9.297 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6949, allocations: 4 kB / 0.8435 GB, free: 9.293 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6949, allocations: 0 / 0.8435 GB, free: 9.293 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.695, allocations: 0 / 0.8435 GB, free: 9.293 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.001787/0.6968, allocations: 0.9688 MB / 0.8445 GB, free: 8.273 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.6968, allocations: 8.031 kB / 0.8445 GB, free: 8.266 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.6969, allocations: 86.52 kB / 0.8446 GB, free: 8.172 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.6986, allocations: 267.4 kB / 0.8448 GB, free: 7.91 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000902/0.6995, allocations: 0.5055 MB / 0.8453 GB, free: 7.367 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.6995, allocations: 29 kB / 0.8453 GB, free: 7.34 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.6996, allocations: 44 kB / 0.8454 GB, free: 7.297 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.7009, allocations: 0.6185 MB / 0.846 GB, free: 6.656 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.7009, allocations: 0 / 0.846 GB, free: 6.656 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.701, allocations: 16 kB / 0.846 GB, free: 6.641 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.701, allocations: 21 kB / 0.846 GB, free: 6.617 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.7024, allocations: 0.5464 MB / 0.8465 GB, free: 6.074 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.003985/0.7064, allocations: 2.273 MB / 0.8488 GB, free: 3.672 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009516/0.7074, allocations: 282.3 kB / 0.849 GB, free: 3.387 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005671/0.708, allocations: 168.7 kB / 0.8492 GB, free: 3.219 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.708, allocations: 0 / 0.8492 GB, free: 3.219 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.708, allocations: 46.7 kB / 0.8492 GB, free: 3.164 MB / 0.67 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.7081, allocations: 7.938 kB / 0.8493 GB, free: 3.156 MB / 0.67 GB Notification: Performance of matching and sorting (n=11): time 0.005214/0.7133, allocations: 1.088 MB / 0.8503 GB, free: 2.039 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.7134, allocations: 81.11 kB / 0.8504 GB, free: 1.941 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/0.7141, allocations: 0.5496 MB / 0.8509 GB, free: 1.379 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/0.7142, allocations: 33.7 kB / 0.851 GB, free: 1.34 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.7144, allocations: 304.1 kB / 0.8512 GB, free: 1.039 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.7145, allocations: 43.69 kB / 0.8513 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.7146, allocations: 61.64 kB / 0.8513 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.7148, allocations: 350.8 kB / 0.8517 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.7154, allocations: 191.8 kB / 0.8519 GB, free: 400 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006857/0.7161, allocations: 275.3 kB / 0.8521 GB, free: 88 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.7174, allocations: 413.7 kB / 0.8525 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.7174, allocations: 3.938 kB / 0.8525 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002746/0.7202, allocations: 0.7254 MB / 0.8532 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.7202, allocations: 8 kB / 0.8532 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.7202, allocations: 0 / 0.8532 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006786/0.7209, allocations: 192.7 kB / 0.8534 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.7213, allocations: 59.95 kB / 0.8535 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/0.7256, allocations: 2.241 MB / 0.8557 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006608/0.7263, allocations: 79.67 kB / 0.8557 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.7263, allocations: 12 kB / 0.8558 GB, free: 12.19 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.0003037/0.7266, allocations: 182.8 kB / 0.8559 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.7268, allocations: 55.61 kB / 0.856 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.7269, allocations: 60.03 kB / 0.856 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7269, allocations: 3.938 kB / 0.856 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.7269, allocations: 0 / 0.856 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7269, allocations: 0 / 0.856 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.7301, allocations: 1.133 MB / 0.8572 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.7301, allocations: 0 / 0.8572 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.7304, allocations: 40.02 kB / 0.8572 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006347/0.731, allocations: 184.6 kB / 0.8574 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.7311, allocations: 4 kB / 0.8574 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004046/0.7351, allocations: 2.183 MB / 0.8595 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.7352, allocations: 0 / 0.8595 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/0.7379, allocations: 0.7003 MB / 0.8602 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.7382, allocations: 176.6 kB / 0.8604 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.7383, allocations: 11.94 kB / 0.8604 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/0.7389, allocations: 47.94 kB / 0.8604 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.677e-05/0.739, allocations: 11.98 kB / 0.8604 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/0.7391, allocations: 12.08 kB / 0.8604 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005571/0.7396, allocations: 398.8 kB / 0.8608 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7396, allocations: 0 / 0.8608 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007199/0.7404, allocations: 183.8 kB / 0.861 GB, free: 6.566 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.003297/0.7437, allocations: 1.334 MB / 0.8623 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.7454, allocations: 0.5257 MB / 0.8628 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.7454, allocations: 4 kB / 0.8628 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007727/0.7462, allocations: 302.9 kB / 0.8631 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.7477, allocations: 303.4 kB / 0.8634 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3243/1.072, allocations: 5.067 MB / 0.8683 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/1.072, allocations: 0.8638 MB / 0.8692 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005003/1.073, allocations: 103.1 kB / 0.8693 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/1.073, allocations: 160.1 kB / 0.8694 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of SimCode: time 1.001e-06/1.073, allocations: 0 / 0.8694 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05651/1.13, allocations: 16.91 MB / 0.886 GB, free: 184 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.22, allocations: 14.05 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)