Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_dev_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.004414/0.004414, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001272/0.001272, allocations: 197.2 kB / 16.67 MB, free: 5.934 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.759/0.759, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 59.81 kB / 0.5851 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1253, allocations: 80.94 MB / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04505/0.1704, allocations: 49.75 MB / 0.7127 GB, free: 4.312 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01662/0.1871, allocations: 12.65 MB / 0.7251 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.1891, allocations: 83.5 kB / 0.7252 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.1911, allocations: 0.7526 MB / 0.7259 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004226/0.1953, allocations: 1.819 MB / 0.7277 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.1985, allocations: 1.353 MB / 0.729 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003778/0.2023, allocations: 3.255 MB / 0.7322 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/0.204, allocations: 1.269 MB / 0.7334 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.2068, allocations: 1.309 MB / 0.7347 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.2081, allocations: 0.933 MB / 0.7356 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.2084, allocations: 96 kB / 0.7357 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.2104, allocations: 1.072 MB / 0.7368 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.2108, allocations: 282.8 kB / 0.737 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008028/0.2116, allocations: 0.6761 MB / 0.7377 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002366/0.214, allocations: 1.975 MB / 0.7396 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.214, allocations: 0 / 0.7396 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.214, allocations: 0 / 0.7396 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.214, allocations: 0 / 0.7396 GB, free: 8.723 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002268/0.2163, allocations: 1.709 MB / 0.7413 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2163, allocations: 17.05 kB / 0.7413 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.2165, allocations: 131.4 kB / 0.7414 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005582/0.217, allocations: 211.1 kB / 0.7416 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.2189, allocations: 1.1 MB / 0.7427 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.2189, allocations: 62 kB / 0.7428 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-05/0.219, allocations: 84 kB / 0.7428 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.2206, allocations: 0.9996 MB / 0.7438 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.2206, allocations: 7.938 kB / 0.7438 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.2207, allocations: 36 kB / 0.7439 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.2207, allocations: 24 kB / 0.7439 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.2221, allocations: 0.6516 MB / 0.7445 GB, free: 3.5 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.2708/0.4929, allocations: 4.709 MB / 0.7491 GB, free: 78.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.4942, allocations: 394.2 kB / 0.7495 GB, free: 78.72 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005548/0.4948, allocations: 214.5 kB / 0.7497 GB, free: 78.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000609/0.4954, allocations: 1.152 MB / 0.7508 GB, free: 77.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.4955, allocations: 35.94 kB / 0.7509 GB, free: 77.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.4955, allocations: 0.5312 kB / 0.7509 GB, free: 77.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002914/0.4984, allocations: 1.071 MB / 0.7519 GB, free: 77.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.4984, allocations: 58.98 kB / 0.752 GB, free: 76.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.4997, allocations: 0.9825 MB / 0.7529 GB, free: 76.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.4998, allocations: 34.98 kB / 0.7529 GB, free: 76.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.5002, allocations: 0.5818 MB / 0.7535 GB, free: 76.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/0.5003, allocations: 108 kB / 0.7536 GB, free: 76.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.5004, allocations: 111.3 kB / 0.7537 GB, free: 76.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.5005, allocations: 324.9 kB / 0.754 GB, free: 76.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005222/0.501, allocations: 199 kB / 0.7542 GB, free: 76.08 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006187/0.5016, allocations: 411.6 kB / 0.7546 GB, free: 75.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.5028, allocations: 0.5984 MB / 0.7552 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.5028, allocations: 2.719 kB / 0.7552 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001772/0.5045, allocations: 0.7554 MB / 0.7559 GB, free: 75.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5046, allocations: 11.69 kB / 0.756 GB, free: 75.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.5046, allocations: 7.156 kB / 0.756 GB, free: 75.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007276/0.5053, allocations: 159.2 kB / 0.7561 GB, free: 75.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.506, allocations: 146.2 kB / 0.7563 GB, free: 75.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008098/0.5068, allocations: 1.718 MB / 0.7579 GB, free: 73.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006766/0.5075, allocations: 83.53 kB / 0.758 GB, free: 73.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/0.5076, allocations: 33.94 kB / 0.758 GB, free: 73.41 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.0003729/0.508, allocations: 273.7 kB / 0.7583 GB, free: 73.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.5082, allocations: 110.9 kB / 0.7584 GB, free: 73.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.5101, allocations: 0.7233 MB / 0.7591 GB, free: 72.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.5101, allocations: 8.328 kB / 0.7591 GB, free: 72.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5102, allocations: 0 / 0.7591 GB, free: 72.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.5102, allocations: 2.781 kB / 0.7591 GB, free: 72.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.5132, allocations: 1.636 MB / 0.7607 GB, free: 72.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/0.5133, allocations: 2.312 kB / 0.7607 GB, free: 72.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.5138, allocations: 90.25 kB / 0.7608 GB, free: 72.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005951/0.5144, allocations: 151.6 kB / 0.761 GB, free: 72.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.5144, allocations: 10.31 kB / 0.761 GB, free: 72.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007829/0.5152, allocations: 1.707 MB / 0.7626 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5152, allocations: 2.312 kB / 0.7626 GB, free: 70.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.5169, allocations: 0.7782 MB / 0.7634 GB, free: 69.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.5173, allocations: 246.2 kB / 0.7636 GB, free: 69.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.5174, allocations: 11.73 kB / 0.7636 GB, free: 69.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/0.5181, allocations: 47.53 kB / 0.7637 GB, free: 69.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.5181, allocations: 25.7 kB / 0.7637 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.5182, allocations: 21.42 kB / 0.7637 GB, free: 69.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008963/0.5191, allocations: 0.6625 MB / 0.7644 GB, free: 69.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5191, allocations: 0 / 0.7644 GB, free: 69.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001155/0.5203, allocations: 373.3 kB / 0.7647 GB, free: 69.43 MB / 0.5762 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.002424/0.5227, allocations: 1.626 MB / 0.7663 GB, free: 68.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.5243, allocations: 0.5434 MB / 0.7669 GB, free: 68.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5243, allocations: 1.438 kB / 0.7669 GB, free: 68.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008012/0.5251, allocations: 296.8 kB / 0.7671 GB, free: 68.22 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.5275, allocations: 0.5298 MB / 0.7677 GB, free: 68.08 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.5388, allocations: 7.281 MB / 0.7748 GB, free: 64.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.5394, allocations: 1.113 MB / 0.7759 GB, free: 63.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006781/0.5401, allocations: 187.3 kB / 0.776 GB, free: 63.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.5405, allocations: 418.7 kB / 0.7764 GB, free: 63.14 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.5405, allocations: 1.375 kB / 0.7764 GB, free: 63.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.611/2.151, allocations: 29.52 MB / 0.8053 GB, free: 40.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.24/20.39, allocations: 4.094 kB / 0.8053 GB, free: 40.34 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)