Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.001126/0.001126, allocations: 87.11 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.001474/0.001474, 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.343/1.343, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9442/0.9442, allocations: 135.3 MB / 426.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 13.06 kB / 0.5071 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1684, allocations: 82.31 MB / 0.5875 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5436/0.712, allocations: 155.4 MB / 0.7392 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00736/0.7195, allocations: 4.027 MB / 0.7432 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000923/0.7204, allocations: 18.88 kB / 0.7432 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008911/0.7213, allocations: 233 kB / 0.7434 GB, free: 9.984 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.002621/0.724, allocations: 0.9049 MB / 0.7443 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.7258, allocations: 0.5652 MB / 0.7448 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002386/0.7282, allocations: 1.989 MB / 0.7468 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006636/0.7289, allocations: 424.4 kB / 0.7472 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.7301, allocations: 0.5718 MB / 0.7477 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000886/0.731, allocations: 0.5316 MB / 0.7483 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/0.7311, allocations: 26.84 kB / 0.7483 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.7325, allocations: 411.2 kB / 0.7487 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.7328, allocations: 223.4 kB / 0.7489 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.733, allocations: 169.9 kB / 0.7491 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.734, allocations: 0.8947 MB / 0.7499 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7341, allocations: 3.984 kB / 0.7499 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7341, allocations: 0 / 0.7499 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.7341, allocations: 0 / 0.7499 GB, free: 6.379 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0017/0.7358, allocations: 0.9127 MB / 0.7508 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.7358, allocations: 6.844 kB / 0.7508 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.736, allocations: 98.67 kB / 0.7509 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.7369, allocations: 174.9 kB / 0.7511 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007787/0.7377, allocations: 0.498 MB / 0.7516 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.7378, allocations: 45.31 kB / 0.7516 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-05/0.7378, allocations: 48 kB / 0.7517 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.739, allocations: 0.6518 MB / 0.7523 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.739, allocations: 4 kB / 0.7523 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.7391, allocations: 25.31 kB / 0.7523 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.7391, allocations: 25.27 kB / 0.7524 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009166/0.7401, allocations: 0.5243 MB / 0.7529 GB, free: 3.512 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.003276/0.7433, allocations: 2.309 MB / 0.7551 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.7439, allocations: 251.2 kB / 0.7554 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.7441, allocations: 144.7 kB / 0.7555 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.7442, allocations: 8 kB / 0.7555 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.7442, allocations: 42.5 kB / 0.7555 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=20): time 3.767e-06/0.7442, allocations: 0 / 0.7555 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20): time 0.001645/0.7459, allocations: 0.69 MB / 0.7562 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.7459, allocations: 81.11 kB / 0.7563 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/0.7466, allocations: 0.5535 MB / 0.7568 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.7467, allocations: 33.7 kB / 0.7569 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.7469, allocations: 331.4 kB / 0.7572 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.747, allocations: 78.98 kB / 0.7573 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.747, allocations: 4 kB / 0.7573 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.7472, allocations: 366.7 kB / 0.7576 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.7475, allocations: 132.6 kB / 0.7577 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.7478, allocations: 223.5 kB / 0.758 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.7481, allocations: 168.4 kB / 0.7581 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7481, allocations: 0 / 0.7581 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009206/0.7491, allocations: 0.5033 MB / 0.7586 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.7491, allocations: 4.281 kB / 0.7586 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.7491, allocations: 11.95 kB / 0.7586 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/0.7494, allocations: 89.66 kB / 0.7587 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.7497, allocations: 79.39 kB / 0.7588 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.7528, allocations: 3.092 MB / 0.7618 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005377/0.7534, allocations: 67.48 kB / 0.7619 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.7534, allocations: 13.06 kB / 0.7619 GB, free: 9.668 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 (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003329/0.7537, allocations: 217.7 kB / 0.7621 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/0.7538, allocations: 59.39 kB / 0.7621 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.478e-05/0.7539, allocations: 56.5 kB / 0.7622 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.7539, allocations: 4 kB / 0.7622 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.754, allocations: 3.938 kB / 0.7622 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007603/0.7547, allocations: 0.5438 MB / 0.7627 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.7562, allocations: 0.9221 MB / 0.7636 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.7562, allocations: 0 / 0.7636 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.7564, allocations: 48.66 kB / 0.7637 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/0.7566, allocations: 60.81 kB / 0.7637 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.7567, allocations: 7.984 kB / 0.7637 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.7585, allocations: 1.691 MB / 0.7654 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7585, allocations: 4.031 kB / 0.7654 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.7592, allocations: 447.4 kB / 0.7658 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.7594, allocations: 168.3 kB / 0.766 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.7595, allocations: 8 kB / 0.766 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.76, allocations: 34.67 kB / 0.766 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.76, allocations: 19.97 kB / 0.766 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.7601, allocations: 15.98 kB / 0.7661 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005031/0.7606, allocations: 394.8 kB / 0.7664 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7606, allocations: 0 / 0.7664 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007677/0.7614, allocations: 207.6 kB / 0.7666 GB, free: 4.477 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 (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001327/0.7627, allocations: 1.04 MB / 0.7677 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009776/0.7637, allocations: 0.5383 MB / 0.7682 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7637, allocations: 0 / 0.7682 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.7641, allocations: 269.3 kB / 0.7684 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.7657, allocations: 363 kB / 0.7688 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/0.7708, allocations: 3.131 MB / 0.7718 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.7714, allocations: 0.9132 MB / 0.7727 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005569/0.772, allocations: 113 kB / 0.7728 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.7722, allocations: 191.4 kB / 0.773 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of SimCode: time 2.074e-06/0.7722, allocations: 0 / 0.773 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.8112, allocations: 17.11 MB / 0.7897 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.8115, allocations: 261.1 kB / 0.79 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/2.971, allocations: 0 / 0.79 GB, free: 12.7 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) Environment - environmentSimulation: