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.001231/0.001231, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001285, allocations: 193 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8905/0.8905, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001947, allocations: 61.64 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.148, allocations: 80.93 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4393/0.5874, allocations: 171 MB / 0.7514 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006594/0.5941, allocations: 4.272 MB / 0.7556 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005806/0.5947, allocations: 27.81 kB / 0.7556 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009499/0.5956, allocations: 344.9 kB / 0.756 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.5978, allocations: 0.9952 MB / 0.7569 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.5997, allocations: 0.8024 MB / 0.7577 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.6014, allocations: 1.285 MB / 0.759 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/0.602, allocations: 498.4 kB / 0.7594 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.6031, allocations: 0.6848 MB / 0.7601 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009692/0.6041, allocations: 452.6 kB / 0.7605 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-05/0.6042, allocations: 52 kB / 0.7606 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.6057, allocations: 0.9004 MB / 0.7615 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.6059, allocations: 211.4 kB / 0.7617 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.6063, allocations: 338.5 kB / 0.762 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.6076, allocations: 1.122 MB / 0.7631 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6076, allocations: 0 / 0.7631 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6076, allocations: 4 kB / 0.7631 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.6076, allocations: 0 / 0.7631 GB, free: 5.949 MB / 0.5762 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.001504/0.6091, allocations: 0.9543 MB / 0.764 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.6092, allocations: 8.031 kB / 0.764 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.998e-05/0.6093, allocations: 78.53 kB / 0.7641 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.6109, allocations: 263.1 kB / 0.7644 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007563/0.6117, allocations: 493.3 kB / 0.7648 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/0.612, allocations: 88.92 kB / 0.7649 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.246e-05/0.6121, allocations: 40 kB / 0.765 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.6133, allocations: 0.6301 MB / 0.7656 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6133, allocations: 0 / 0.7656 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.6134, allocations: 16 kB / 0.7656 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.6134, allocations: 17 kB / 0.7656 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.6149, allocations: 0.5581 MB / 0.7661 GB, free: 2.707 MB / 0.5762 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.003818/0.6187, allocations: 2.288 MB / 0.7684 GB, free: 296 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.6198, allocations: 290.4 kB / 0.7687 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005899/0.6204, allocations: 172.7 kB / 0.7688 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.6204, allocations: 7.984 kB / 0.7688 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.6204, allocations: 34.56 kB / 0.7689 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 2.645e-06/0.6205, allocations: 224 / 0.7689 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.005353/0.6258, allocations: 1.115 MB / 0.77 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.6259, allocations: 85.05 kB / 0.77 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/0.6265, allocations: 0.5496 MB / 0.7706 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.6265, allocations: 29.7 kB / 0.7706 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.6267, allocations: 299.5 kB / 0.7709 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.6268, allocations: 39.45 kB / 0.7709 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.6269, allocations: 63.36 kB / 0.771 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.627, allocations: 358.8 kB / 0.7713 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006446/0.6277, allocations: 191.8 kB / 0.7715 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006869/0.6284, allocations: 279.4 kB / 0.7718 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.6296, allocations: 419.4 kB / 0.7722 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6296, allocations: 3.938 kB / 0.7722 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002803/0.6324, allocations: 0.7394 MB / 0.7729 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.6325, allocations: 8 kB / 0.7729 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.6325, allocations: 1.312 kB / 0.7729 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/0.6331, allocations: 192.8 kB / 0.7731 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.6335, allocations: 63.89 kB / 0.7732 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003882/0.6374, allocations: 2.243 MB / 0.7753 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.638, allocations: 83.45 kB / 0.7754 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.6381, allocations: 15.94 kB / 0.7754 GB, free: 8.746 MB / 0.5919 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.0002243/0.6383, allocations: 185.8 kB / 0.7756 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.6384, allocations: 51.38 kB / 0.7757 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.6385, allocations: 56.03 kB / 0.7757 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.6385, allocations: 0 / 0.7757 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.6385, allocations: 0 / 0.7757 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6385, allocations: 7.922 kB / 0.7757 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/0.6417, allocations: 1.137 MB / 0.7768 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6417, allocations: 0 / 0.7768 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.6419, allocations: 40.02 kB / 0.7769 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005411/0.6425, allocations: 180.7 kB / 0.777 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.6425, allocations: 11.92 kB / 0.7771 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.6461, allocations: 2.185 MB / 0.7792 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6461, allocations: 0 / 0.7792 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.6488, allocations: 0.7059 MB / 0.7799 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.649, allocations: 168.5 kB / 0.78 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.6491, allocations: 7.938 kB / 0.78 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/0.6497, allocations: 49.81 kB / 0.7801 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.6498, allocations: 19.92 kB / 0.7801 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.6498, allocations: 12.36 kB / 0.7801 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004183/0.6502, allocations: 394.9 kB / 0.7805 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6502, allocations: 3.938 kB / 0.7805 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006064/0.6509, allocations: 183.7 kB / 0.7807 GB, free: 3.117 MB / 0.5919 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.003137/0.654, allocations: 1.328 MB / 0.782 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.6557, allocations: 0.5413 MB / 0.7825 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.6557, allocations: 4 kB / 0.7825 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007588/0.6564, allocations: 299 kB / 0.7828 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.6578, allocations: 317 kB / 0.7831 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.6695, allocations: 5.174 MB / 0.7882 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.6699, allocations: 0.8621 MB / 0.789 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004367/0.6703, allocations: 100.5 kB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.6706, allocations: 163.4 kB / 0.7892 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.6706, allocations: 4 kB / 0.7892 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4083/1.079, allocations: 16.76 MB / 0.8056 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.45, allocations: 2.75 kB / 0.8056 GB, free: 9.738 MB / 0.6231 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)