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.0009299/0.0009299, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00118/0.00118, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9512/0.9512, allocations: 135.3 MB / 426.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003706, allocations: 8.719 kB / 0.5071 GB, free: 5.043 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1863, allocations: 82.33 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5473/0.7337, allocations: 155.3 MB / 0.7392 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006804/0.7405, allocations: 4.015 MB / 0.7431 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009617/0.7415, allocations: 24.12 kB / 0.7431 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009038/0.7425, allocations: 232.8 kB / 0.7433 GB, free: 10.01 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002347/0.7448, allocations: 0.7397 MB / 0.7441 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.747, allocations: 0.6028 MB / 0.7446 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002135/0.7491, allocations: 1.515 MB / 0.7461 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006983/0.7498, allocations: 365.5 kB / 0.7465 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.7512, allocations: 0.5469 MB / 0.747 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009229/0.7522, allocations: 436.9 kB / 0.7474 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.7523, allocations: 20.03 kB / 0.7474 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.7539, allocations: 0.6172 MB / 0.748 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.7542, allocations: 181 kB / 0.7482 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.7545, allocations: 142.9 kB / 0.7484 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.7558, allocations: 0.7977 MB / 0.7491 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7558, allocations: 4 kB / 0.7491 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7558, allocations: 0 / 0.7491 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.703e-05/0.7558, allocations: 0 / 0.7491 GB, free: 6.871 MB / 0.5606 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.001794/0.7576, allocations: 0.8456 MB / 0.75 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7577, allocations: 9.594 kB / 0.75 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.7578, allocations: 86.02 kB / 0.7501 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.7595, allocations: 293.4 kB / 0.7503 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009315/0.7604, allocations: 468.5 kB / 0.7508 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003104/0.7607, allocations: 97.34 kB / 0.7509 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.7608, allocations: 40 kB / 0.7509 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.7621, allocations: 0.638 MB / 0.7515 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.7621, allocations: 0 / 0.7515 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.7622, allocations: 19.95 kB / 0.7516 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.7622, allocations: 21 kB / 0.7516 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.7637, allocations: 0.5854 MB / 0.7521 GB, free: 4.199 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.004253/0.7679, allocations: 2.313 MB / 0.7544 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009239/0.7689, allocations: 306.3 kB / 0.7547 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005159/0.7694, allocations: 192.7 kB / 0.7549 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.7694, allocations: 0 / 0.7549 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.7695, allocations: 38.56 kB / 0.7549 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 2.835e-06/0.7695, allocations: 0 / 0.7549 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.004857/0.7744, allocations: 1.196 MB / 0.7561 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.7744, allocations: 81.05 kB / 0.7562 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007272/0.7752, allocations: 0.5495 MB / 0.7567 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.7752, allocations: 25.7 kB / 0.7567 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.7755, allocations: 299.5 kB / 0.757 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.7755, allocations: 47.38 kB / 0.7571 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.7755, allocations: 4 kB / 0.7571 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7757, allocations: 358.8 kB / 0.7574 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.7763, allocations: 211.8 kB / 0.7576 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.7769, allocations: 291.9 kB / 0.7579 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.7775, allocations: 218.6 kB / 0.7581 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7775, allocations: 0 / 0.7581 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002515/0.78, allocations: 0.7824 MB / 0.7589 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.78, allocations: 4 kB / 0.7589 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.7801, allocations: 8.656 kB / 0.7589 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.7807, allocations: 184.7 kB / 0.759 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.7811, allocations: 91.69 kB / 0.7591 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004026/0.7851, allocations: 2.174 MB / 0.7613 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/0.7859, allocations: 95.38 kB / 0.7613 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.7859, allocations: 8 kB / 0.7614 GB, free: 10.37 MB / 0.5762 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.0003031/0.7862, allocations: 202.2 kB / 0.7615 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.7864, allocations: 47.44 kB / 0.7616 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.7865, allocations: 53.78 kB / 0.7616 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7865, allocations: 0 / 0.7616 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.7865, allocations: 0 / 0.7616 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7865, allocations: 0 / 0.7616 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.7896, allocations: 1.196 MB / 0.7628 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.7896, allocations: 0 / 0.7628 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.7898, allocations: 51.95 kB / 0.7629 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004952/0.7903, allocations: 192.7 kB / 0.763 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.7904, allocations: 4 kB / 0.763 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003204/0.7936, allocations: 2.065 MB / 0.7651 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7936, allocations: 0 / 0.7651 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.7961, allocations: 0.7529 MB / 0.7658 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/0.7965, allocations: 164.5 kB / 0.766 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.7967, allocations: 4 kB / 0.766 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.7974, allocations: 69 kB / 0.766 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.7975, allocations: 19.94 kB / 0.766 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.17e-05/0.7976, allocations: 11.98 kB / 0.7661 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006596/0.7983, allocations: 386.8 kB / 0.7664 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7983, allocations: 0 / 0.7664 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008521/0.7991, allocations: 187.8 kB / 0.7666 GB, free: 4.738 MB / 0.5762 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.00303/0.8022, allocations: 1.372 MB / 0.7679 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.8042, allocations: 0.6527 MB / 0.7686 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.8042, allocations: 4 kB / 0.7686 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007111/0.8049, allocations: 319 kB / 0.7689 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.8065, allocations: 286.7 kB / 0.7692 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008783/0.8153, allocations: 3.565 MB / 0.7726 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.8159, allocations: 0.8621 MB / 0.7735 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005963/0.8165, allocations: 108.2 kB / 0.7736 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.8168, allocations: 163.4 kB / 0.7737 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of SimCode: time 1.674e-06/0.8168, allocations: 0 / 0.7737 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0549/0.8718, allocations: 15.99 MB / 0.7894 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.872, allocations: 277.2 kB / 0.7896 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/3.076, allocations: 3.5 kB / 0.7896 GB, free: 13.34 MB / 0.6075 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: