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.0008926/0.0008924, allocations: 84.38 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.0008703/0.0008705, 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.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7741/0.7741, allocations: 132.3 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 8 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4082, allocations: 81.57 MB / 0.5832 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04576/0.454, allocations: 45.76 MB / 0.6278 GB, free: 1.336 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01867/0.4728, allocations: 11.89 MB / 0.6395 GB, free: 6.746 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/0.4755, allocations: 63.56 kB / 0.6395 GB, free: 6.684 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.4772, allocations: 0.551 MB / 0.6401 GB, free: 6.129 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004183/0.4814, allocations: 1.442 MB / 0.6415 GB, free: 4.68 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003111/0.4846, allocations: 1.042 MB / 0.6425 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005144/0.4897, allocations: 3.739 MB / 0.6461 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.4913, allocations: 0.9234 MB / 0.647 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002201/0.4935, allocations: 1.034 MB / 0.648 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.4947, allocations: 0.8279 MB / 0.6489 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.4948, allocations: 40 kB / 0.6489 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.4968, allocations: 0.7483 MB / 0.6496 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.4971, allocations: 203 kB / 0.6498 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.4975, allocations: 277 kB / 0.6501 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.4992, allocations: 1.38 MB / 0.6514 GB, free: 10.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4992, allocations: 3.938 kB / 0.6514 GB, free: 10.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4992, allocations: 0 / 0.6514 GB, free: 10.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.4993, allocations: 0 / 0.6514 GB, free: 10.44 MB / 494.1 MB 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.002335/0.5016, allocations: 1.499 MB / 0.6529 GB, free: 8.887 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.5017, allocations: 8.031 kB / 0.6529 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/0.5019, allocations: 143.2 kB / 0.653 GB, free: 8.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005874/0.5024, allocations: 226 kB / 0.6533 GB, free: 8.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.5043, allocations: 1.048 MB / 0.6543 GB, free: 7.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003248/0.5047, allocations: 129.9 kB / 0.6544 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.5048, allocations: 83.94 kB / 0.6545 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.5065, allocations: 0.9962 MB / 0.6555 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.5066, allocations: 0 / 0.6555 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.28e-05/0.5067, allocations: 43.95 kB / 0.6555 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.5067, allocations: 20 kB / 0.6555 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.5081, allocations: 0.6829 MB / 0.6562 GB, free: 5.383 MB / 494.1 MB 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.00539/0.5135, allocations: 4.442 MB / 0.6605 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.5146, allocations: 434.6 kB / 0.6609 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005084/0.5152, allocations: 236.7 kB / 0.6612 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009651/0.5161, allocations: 1.152 MB / 0.6623 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.5162, allocations: 42.55 kB / 0.6623 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 2.164e-06/0.5162, allocations: 0 / 0.6623 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002807/0.519, allocations: 1.145 MB / 0.6634 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.5191, allocations: 55.41 kB / 0.6635 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5202, allocations: 0.9239 MB / 0.6644 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.5203, allocations: 29.7 kB / 0.6644 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.5207, allocations: 0.5813 MB / 0.665 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.569e-05/0.5208, allocations: 102.5 kB / 0.6651 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.5209, allocations: 12 kB / 0.6651 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.521, allocations: 333.9 kB / 0.6654 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/0.5215, allocations: 212.9 kB / 0.6656 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/0.5222, allocations: 398.8 kB / 0.666 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.5227, allocations: 261.2 kB / 0.6663 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5227, allocations: 8 kB / 0.6663 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001561/0.5243, allocations: 0.7599 MB / 0.667 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5243, allocations: 8.719 kB / 0.667 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.5244, allocations: 4 kB / 0.667 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/0.525, allocations: 158.5 kB / 0.6672 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.5256, allocations: 163.8 kB / 0.6673 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.5268, allocations: 1.72 MB / 0.669 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006928/0.5275, allocations: 123.2 kB / 0.6691 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.165e-05/0.5276, allocations: 31.98 kB / 0.6692 GB, free: 7.277 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004749/0.5281, allocations: 265.6 kB / 0.6694 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.5282, allocations: 110.7 kB / 0.6695 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.5299, allocations: 0.762 MB / 0.6703 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.53, allocations: 4.062 kB / 0.6703 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.53, allocations: 4 kB / 0.6703 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.53, allocations: 11.98 kB / 0.6703 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.5328, allocations: 1.663 MB / 0.6719 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5328, allocations: 0 / 0.6719 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004796/0.5333, allocations: 112 kB / 0.672 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005334/0.5338, allocations: 146.5 kB / 0.6721 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/0.5338, allocations: 15.98 kB / 0.6722 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.535, allocations: 1.712 MB / 0.6738 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.535, allocations: 4.031 kB / 0.6738 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.5365, allocations: 0.816 MB / 0.6746 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/0.537, allocations: 247.5 kB / 0.6749 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.5371, allocations: 8 kB / 0.6749 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00066/0.5378, allocations: 83.92 kB / 0.675 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.5379, allocations: 35.84 kB / 0.675 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.5379, allocations: 23.98 kB / 0.675 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008594/0.5388, allocations: 0.6225 MB / 0.6756 GB, free: 408 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5388, allocations: 0 / 0.6756 GB, free: 408 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001055/0.5399, allocations: 359.1 kB / 0.676 GB, free: 48 kB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 2,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002561/0.5424, allocations: 1.619 MB / 0.6775 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.544, allocations: 0.571 MB / 0.6781 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.544, allocations: 0 / 0.6781 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008366/0.5449, allocations: 320.6 kB / 0.6784 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.5473, allocations: 0.5052 MB / 0.6789 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.5577, allocations: 5.97 MB / 0.6847 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.5585, allocations: 1.107 MB / 0.6858 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008135/0.5593, allocations: 182.9 kB / 0.686 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.5599, allocations: 415.3 kB / 0.6864 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.5599, allocations: 4 kB / 0.6864 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0534/0.6133, allocations: 28.28 MB / 0.714 GB, free: 9.23 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/0.6136, allocations: 257.6 kB / 0.7143 GB, free: 8.891 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.029, allocations: 0 / 0.7143 GB, free: 8.891 MB / 0.545 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/linux/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) Environment - environmentSimulation: