Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.007223/0.007223, allocations: 98.62 kB / 15.73 MB, free: 6.047 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.001827/0.001827, allocations: 184.4 kB / 16.67 MB, free: 5.969 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8618/0.8618, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 63.91 kB / 0.5809 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3605, allocations: 80.2 MB / 0.6592 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04655/0.4071, allocations: 49.77 MB / 0.7078 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.4255, allocations: 12.64 MB / 0.7201 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.4278, allocations: 79.56 kB / 0.7202 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.4297, allocations: 0.7565 MB / 0.721 GB, free: 6.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006148/0.4358, allocations: 1.817 MB / 0.7227 GB, free: 4.906 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004773/0.4406, allocations: 1.368 MB / 0.7241 GB, free: 3.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006001/0.4467, allocations: 3.252 MB / 0.7272 GB, free: 304 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/0.4492, allocations: 1.258 MB / 0.7285 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004601/0.4539, allocations: 1.306 MB / 0.7297 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.4556, allocations: 0.9291 MB / 0.7306 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.4559, allocations: 96 kB / 0.7307 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003466/0.4594, allocations: 1.064 MB / 0.7318 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004594/0.4598, allocations: 286.8 kB / 0.7321 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.461, allocations: 0.6761 MB / 0.7327 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004176/0.4652, allocations: 1.984 MB / 0.7347 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4652, allocations: 3.938 kB / 0.7347 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4652, allocations: 4 kB / 0.7347 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.4652, allocations: 0 / 0.7347 GB, free: 8.656 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003664/0.4689, allocations: 1.75 MB / 0.7364 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4689, allocations: 8.031 kB / 0.7364 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002129/0.4692, allocations: 135.4 kB / 0.7365 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008594/0.47, allocations: 215.9 kB / 0.7367 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.472, allocations: 1.108 MB / 0.7378 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/0.4721, allocations: 66 kB / 0.7379 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.4722, allocations: 80 kB / 0.7379 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.474, allocations: 1.007 MB / 0.7389 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.474, allocations: 0 / 0.7389 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.791e-05/0.4741, allocations: 40 kB / 0.739 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.4741, allocations: 20 kB / 0.739 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.4756, allocations: 0.6555 MB / 0.7396 GB, free: 3.379 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.004982/0.4806, allocations: 4.732 MB / 0.7442 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.4817, allocations: 402.4 kB / 0.7446 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.4823, allocations: 212.7 kB / 0.7448 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000939/0.4832, allocations: 1.144 MB / 0.7459 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.4833, allocations: 42.56 kB / 0.746 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.4833, allocations: 0 / 0.746 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002805/0.4861, allocations: 1.079 MB / 0.747 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.4861, allocations: 63.34 kB / 0.7471 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.4873, allocations: 0.9793 MB / 0.7481 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.4873, allocations: 33.7 kB / 0.7481 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/0.4878, allocations: 0.5978 MB / 0.7487 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.4879, allocations: 115 kB / 0.7488 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.4881, allocations: 114.1 kB / 0.7489 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4883, allocations: 322 kB / 0.7492 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.4888, allocations: 197 kB / 0.7494 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/0.4895, allocations: 410.3 kB / 0.7498 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.4907, allocations: 0.6037 MB / 0.7504 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.4907, allocations: 0 / 0.7504 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001673/0.4924, allocations: 0.7605 MB / 0.7511 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4925, allocations: 11.94 kB / 0.7511 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4925, allocations: 8 kB / 0.7511 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006522/0.4931, allocations: 159.2 kB / 0.7513 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/0.4937, allocations: 147.8 kB / 0.7514 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.495, allocations: 1.712 MB / 0.7531 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.4956, allocations: 91.66 kB / 0.7532 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.4957, allocations: 24 kB / 0.7532 GB, free: 4.535 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003864/0.4961, allocations: 272.2 kB / 0.7535 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.4963, allocations: 123.3 kB / 0.7536 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.4981, allocations: 0.723 MB / 0.7543 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.4981, allocations: 8 kB / 0.7543 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4981, allocations: 0 / 0.7543 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.4981, allocations: 7.922 kB / 0.7543 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/0.5009, allocations: 1.636 MB / 0.7559 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.5009, allocations: 0 / 0.7559 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.5014, allocations: 87.84 kB / 0.756 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005625/0.502, allocations: 150.6 kB / 0.7561 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.502, allocations: 8 kB / 0.7561 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.5032, allocations: 1.704 MB / 0.7578 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5032, allocations: 4.031 kB / 0.7578 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.5048, allocations: 0.7854 MB / 0.7586 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.5051, allocations: 260.1 kB / 0.7588 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.5052, allocations: 8 kB / 0.7588 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/0.5058, allocations: 43.89 kB / 0.7589 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.843e-05/0.5059, allocations: 35.89 kB / 0.7589 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.506, allocations: 19.98 kB / 0.7589 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008877/0.5068, allocations: 0.6619 MB / 0.7596 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5069, allocations: 0 / 0.7596 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001235/0.5081, allocations: 378.9 kB / 0.7599 GB, free: 13.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002818/0.5109, allocations: 1.645 MB / 0.7615 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.5125, allocations: 0.5484 MB / 0.7621 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5125, allocations: 0 / 0.7621 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008079/0.5134, allocations: 301.6 kB / 0.7624 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.5156, allocations: 0.5247 MB / 0.7629 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.5266, allocations: 7.322 MB / 0.77 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/0.5273, allocations: 1.103 MB / 0.7711 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006587/0.528, allocations: 191.7 kB / 0.7713 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/0.5285, allocations: 415.3 kB / 0.7717 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.5285, allocations: 0 / 0.7717 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5917/1.12, allocations: 29.49 MB / 0.8005 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.62, allocations: 8.891 kB / 0.8005 GB, free: 3.973 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)