Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",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.001276/0.001276, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001189/0.001189, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.244/1.244, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9147/0.9147, allocations: 135.1 MB / 425.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 64.38 kB / 0.505 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.228, allocations: 80.93 MB / 0.584 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.55/0.7781, allocations: 239.7 MB / 0.8181 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02475/0.8029, allocations: 15.84 MB / 0.8336 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/0.8057, allocations: 75.44 kB / 0.8336 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003364/0.8091, allocations: 1.046 MB / 0.8347 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009546/0.8187, allocations: 3.592 MB / 0.8382 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006268/0.825, allocations: 1.641 MB / 0.8398 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008992/0.834, allocations: 5.252 MB / 0.8449 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003132/0.8372, allocations: 1.624 MB / 0.8465 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006369/0.8436, allocations: 2.604 MB / 0.849 GB, free: 13.58 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004122/0.8477, allocations: 1.826 MB / 0.8508 GB, free: 11.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007138/0.8485, allocations: 172 kB / 0.851 GB, free: 11.6 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005921/0.8544, allocations: 2.837 MB / 0.8537 GB, free: 8.754 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.8559, allocations: 0.7713 MB / 0.8545 GB, free: 7.98 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002601/0.8585, allocations: 1.147 MB / 0.8556 GB, free: 6.828 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007962/0.8665, allocations: 3.715 MB / 0.8592 GB, free: 3.102 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.8666, allocations: 4 kB / 0.8593 GB, free: 3.098 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8666, allocations: 0 / 0.8593 GB, free: 3.098 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001538/0.8667, allocations: 4 kB / 0.8593 GB, free: 3.094 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.006417/0.8732, allocations: 2.492 MB / 0.8617 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.8732, allocations: 12.03 kB / 0.8617 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004653/0.8737, allocations: 219.1 kB / 0.8619 GB, free: 320 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2749/1.149, allocations: 0.4944 MB / 0.8624 GB, free: 224 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/1.151, allocations: 1.273 MB / 0.8636 GB, free: 223.7 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/1.151, allocations: 179 kB / 0.8638 GB, free: 223.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/1.151, allocations: 157.5 kB / 0.864 GB, free: 223.6 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/1.154, allocations: 1.736 MB / 0.8657 GB, free: 223.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/1.154, allocations: 3.469 kB / 0.8657 GB, free: 223.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/1.154, allocations: 62.03 kB / 0.8657 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/1.154, allocations: 64.66 kB / 0.8658 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/1.156, allocations: 1.37 MB / 0.8671 GB, free: 222.7 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.006777/1.163, allocations: 8.171 MB / 0.8751 GB, free: 216.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/1.164, allocations: 0.9046 MB / 0.876 GB, free: 216.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/1.165, allocations: 0.5364 MB / 0.8765 GB, free: 216.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/1.165, allocations: 323.1 kB / 0.8768 GB, free: 215.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/1.165, allocations: 45.31 kB / 0.8769 GB, free: 215.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 2.284e-06/1.165, allocations: 0 / 0.8769 GB, free: 215.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.005877/1.171, allocations: 3.108 MB / 0.8799 GB, free: 214.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/1.171, allocations: 61.25 kB / 0.8799 GB, free: 214.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.173, allocations: 1.269 MB / 0.8812 GB, free: 213.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.619e-05/1.173, allocations: 47.95 kB / 0.8812 GB, free: 213.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003683/1.173, allocations: 0.8109 MB / 0.882 GB, free: 213.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/1.173, allocations: 368 kB / 0.8824 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/1.174, allocations: 230.1 kB / 0.8826 GB, free: 212.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.823e-05/1.174, allocations: 354.7 kB / 0.8829 GB, free: 212.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006987/1.174, allocations: 449.2 kB / 0.8834 GB, free: 212.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008371/1.175, allocations: 0.8253 MB / 0.8842 GB, free: 211.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/1.177, allocations: 1.252 MB / 0.8854 GB, free: 210.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.177, allocations: 2.781 kB / 0.8854 GB, free: 210.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001954/1.179, allocations: 1.407 MB / 0.8868 GB, free: 210.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/1.179, allocations: 9.25 kB / 0.8868 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.179, allocations: 9.031 kB / 0.8868 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.179, allocations: 16 kB / 0.8868 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.18, allocations: 271.5 kB / 0.8871 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.178e-05/1.18, allocations: 23.47 kB / 0.8871 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/1.181, allocations: 152.6 kB / 0.8872 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.11e-05/1.181, allocations: 58.06 kB / 0.8873 GB, free: 210.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001068/1.182, allocations: 0.772 MB / 0.888 GB, free: 209.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000835/1.183, allocations: 0.8273 MB / 0.8888 GB, free: 209.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001495/1.185, allocations: 1.229 MB / 0.89 GB, free: 208.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/1.185, allocations: 5.25 kB / 0.89 GB, free: 208.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.001903/1.187, allocations: 1.386 MB / 0.8914 GB, free: 208 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.187, allocations: 12.25 kB / 0.8914 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.187, allocations: 12.66 kB / 0.8914 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/1.187, allocations: 14.16 kB / 0.8914 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/1.188, allocations: 270.5 kB / 0.8917 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/1.188, allocations: 24.48 kB / 0.8917 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/1.189, allocations: 169.3 kB / 0.8919 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/1.189, allocations: 44.94 kB / 0.8919 GB, free: 207.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002311/1.189, allocations: 270.6 kB / 0.8922 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/1.19, allocations: 166.9 kB / 0.8923 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/1.191, allocations: 1.147 MB / 0.8935 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.191, allocations: 13.59 kB / 0.8935 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/1.192, allocations: 3.125 kB / 0.8935 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/1.193, allocations: 1.077 MB / 0.8945 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004147/1.197, allocations: 2.784 MB / 0.8972 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.197, allocations: 1.281 kB / 0.8972 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.198, allocations: 251.3 kB / 0.8975 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/1.198, allocations: 4.844 kB / 0.8975 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/1.198, allocations: 27.02 kB / 0.8975 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/1.198, allocations: 4.969 kB / 0.8975 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.198, allocations: 3.969 kB / 0.8975 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/1.201, allocations: 1.816 MB / 0.8993 GB, free: 204.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/1.202, allocations: 333.9 kB / 0.8996 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/1.202, allocations: 29 kB / 0.8996 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.203, allocations: 134.8 kB / 0.8998 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.203, allocations: 63.92 kB / 0.8998 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-05/1.203, allocations: 39.05 kB / 0.8999 GB, free: 204.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001005/1.204, allocations: 0.8451 MB / 0.9007 GB, free: 203.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.204, allocations: 2.734 kB / 0.9007 GB, free: 203.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00193/1.206, allocations: 0.7719 MB / 0.9015 GB, free: 203.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003213/1.209, allocations: 2.517 MB / 0.9039 GB, free: 202.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003778/1.213, allocations: 1.997 MB / 0.9059 GB, free: 201.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.213, allocations: 3.062 kB / 0.9059 GB, free: 201.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008312/1.214, allocations: 0.518 MB / 0.9064 GB, free: 201.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/1.218, allocations: 0.9237 MB / 0.9073 GB, free: 201.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/1.237, allocations: 13.69 MB / 0.9206 GB, free: 193.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/1.239, allocations: 1.445 MB / 0.9221 GB, free: 192.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002493/1.241, allocations: 0.5564 MB / 0.9226 GB, free: 192.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008782/1.242, allocations: 0.6803 MB / 0.9233 GB, free: 191.8 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/1.242, allocations: 0 / 0.9233 GB, free: 191.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7867/2.029, allocations: 44.29 MB / 0.9665 GB, free: 159.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000342/2.029, allocations: 235.7 kB / 0.9667 GB, free: 159.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.558/6.587, allocations: 1.312 kB / 0.9667 GB, free: 159.3 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)