Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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.001671/0.001672, allocations: 99.62 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.001546/0.001546, 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.699/2.699, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.41/1.41, allocations: 132.3 MB / 423.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000601/0.0006011, allocations: 8 kB / 0.5033 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.8637, allocations: 81.57 MB / 0.583 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir): time 0.3461/1.21, allocations: 152.5 MB / 0.7319 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01654/1.227, allocations: 6.186 MB / 0.7379 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/1.229, allocations: 27.81 kB / 0.7379 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00272/1.231, allocations: 442 kB / 0.7383 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007976/1.239, allocations: 1.379 MB / 0.7397 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005741/1.245, allocations: 0.8657 MB / 0.7405 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007285/1.252, allocations: 2.195 MB / 0.7427 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/1.256, allocations: 1.087 MB / 0.7437 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003982/1.26, allocations: 0.9967 MB / 0.7447 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/1.262, allocations: 0.7353 MB / 0.7454 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005577/1.263, allocations: 56 kB / 0.7455 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003717/1.267, allocations: 0.7099 MB / 0.7462 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00121/1.268, allocations: 442.7 kB / 0.7466 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/1.269, allocations: 321 kB / 0.7469 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004978/1.274, allocations: 1.952 MB / 0.7488 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.274, allocations: 0 / 0.7488 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.14e-06/1.274, allocations: 0 / 0.7488 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001316/1.274, allocations: 0 / 0.7488 GB, free: 6.273 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.006268/1.281, allocations: 1.6 MB / 0.7504 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.977e-05/1.281, allocations: 12.03 kB / 0.7504 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007707/1.282, allocations: 160.1 kB / 0.7505 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006501/1.288, allocations: 0.4899 MB / 0.751 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005101/1.293, allocations: 1.167 MB / 0.7522 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/1.293, allocations: 85.98 kB / 0.7522 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006813/1.294, allocations: 103.9 kB / 0.7523 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00534/1.3, allocations: 1.323 MB / 0.7536 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.487e-05/1.3, allocations: 7.938 kB / 0.7536 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002083/1.3, allocations: 40 kB / 0.7537 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/1.3, allocations: 41.98 kB / 0.7537 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003736/1.304, allocations: 1.261 MB / 0.7549 GB, free: 15.88 MB / 0.5919 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.01307/1.317, allocations: 4.918 MB / 0.7597 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/1.319, allocations: 0.9939 MB / 0.7607 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/1.32, allocations: 20.62 kB / 0.7607 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.008e-05/1.32, allocations: 55.11 kB / 0.7608 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 5.5e-06/1.32, allocations: 0 / 0.7608 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.01064/1.33, allocations: 2.991 MB / 0.7637 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/1.331, allocations: 60.06 kB / 0.7638 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/1.333, allocations: 0.9771 MB / 0.7647 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002114/1.333, allocations: 45.7 kB / 0.7648 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000817/1.334, allocations: 0.5312 MB / 0.7653 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/1.335, allocations: 295.8 kB / 0.7656 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/1.335, allocations: 16 kB / 0.7656 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002811/1.335, allocations: 341.9 kB / 0.7659 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/1.336, allocations: 441.7 kB / 0.7663 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/1.338, allocations: 0.5966 MB / 0.7669 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/1.339, allocations: 0.5455 MB / 0.7674 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/1.339, allocations: 0 / 0.7674 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003667/1.343, allocations: 1.239 MB / 0.7687 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009115/1.344, allocations: 1.051 MB / 0.7697 GB, free: 132 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/1.344, allocations: 4 kB / 0.7697 GB, free: 128 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004622/1.344, allocations: 76.73 kB / 0.7698 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/1.346, allocations: 207.7 kB / 0.77 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004625/1.351, allocations: 3.014 MB / 0.7729 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/1.353, allocations: 144.3 kB / 0.773 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002691/1.354, allocations: 32 kB / 0.7731 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.354, allocations: 4 kB / 0.7731 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003436/1.357, allocations: 1.117 MB / 0.7742 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.357, allocations: 0 / 0.7742 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003597/1.358, allocations: 72.8 kB / 0.7742 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.359, allocations: 184.1 kB / 0.7744 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/1.362, allocations: 1.835 MB / 0.7762 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/1.365, allocations: 139.8 kB / 0.7763 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/1.365, allocations: 31.94 kB / 0.7764 GB, free: 8.969 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001824/1.367, allocations: 0.6059 MB / 0.777 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006474/1.368, allocations: 114.7 kB / 0.7771 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/1.371, allocations: 1.185 MB / 0.7782 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.371, allocations: 8 kB / 0.7782 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.371, allocations: 4 kB / 0.7782 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002774/1.374, allocations: 1.237 MB / 0.7794 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009468/1.384, allocations: 2.796 MB / 0.7822 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/1.384, allocations: 0 / 0.7822 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.385, allocations: 239.7 kB / 0.7824 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003539/1.386, allocations: 73.05 kB / 0.7825 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/1.386, allocations: 24 kB / 0.7825 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/1.39, allocations: 3.014 MB / 0.7854 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.39, allocations: 0 / 0.7854 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005066/1.395, allocations: 2.037 MB / 0.7874 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.396, allocations: 327.5 kB / 0.7877 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005121/1.397, allocations: 23.98 kB / 0.7878 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.399, allocations: 113.4 kB / 0.7879 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/1.399, allocations: 56.53 kB / 0.7879 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.4, allocations: 31.98 kB / 0.788 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002011/1.402, allocations: 0.6918 MB / 0.7886 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.11e-07/1.402, allocations: 0 / 0.7886 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004461/1.406, allocations: 0.6523 MB / 0.7893 GB, free: 11.27 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006999/1.413, allocations: 3.248 MB / 0.7924 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006233/1.419, allocations: 1.889 MB / 0.7943 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/1.42, allocations: 4 kB / 0.7943 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001807/1.421, allocations: 0.6711 MB / 0.7949 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006938/1.428, allocations: 0.7934 MB / 0.7957 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.035/1.463, allocations: 10.23 MB / 0.8057 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002701/1.466, allocations: 1.444 MB / 0.8071 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004306/1.471, allocations: 0.6923 MB / 0.8078 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/1.472, allocations: 467.3 kB / 0.8082 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of SimCode: time 1.763e-06/1.472, allocations: 0 / 0.8082 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6334/2.106, allocations: 38.15 MB / 0.8455 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/2.106, allocations: 281 kB / 0.8458 GB, free: 202.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.217/6.323, allocations: 3.562 kB / 0.8458 GB, free: 202.3 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) Environment - environmentSimulation: