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.00151/0.00151, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7523/0.7523, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.53 kB / 0.5019 GB, free: 8.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1368, allocations: 80.21 MB / 0.5802 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.2695/0.4064, allocations: 49.75 MB / 0.6288 GB, free: 29.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01357/0.42, allocations: 12.65 MB / 0.6411 GB, free: 20.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.4223, allocations: 83.03 kB / 0.6412 GB, free: 20.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.4238, allocations: 0.7617 MB / 0.6419 GB, free: 20.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003491/0.4273, allocations: 1.815 MB / 0.6437 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.43, allocations: 1.333 MB / 0.645 GB, free: 18.51 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002713/0.4327, allocations: 3.249 MB / 0.6482 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.4339, allocations: 1.263 MB / 0.6494 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.4364, allocations: 1.301 MB / 0.6507 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009135/0.4373, allocations: 0.9275 MB / 0.6516 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.4375, allocations: 97.34 kB / 0.6517 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.4394, allocations: 1.066 MB / 0.6527 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.4397, allocations: 294.9 kB / 0.653 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004716/0.4401, allocations: 0.6786 MB / 0.6537 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.442, allocations: 1.938 MB / 0.6556 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.442, allocations: 0 / 0.6556 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4421, allocations: 0 / 0.6556 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.4421, allocations: 0 / 0.6556 GB, free: 13.68 MB / 0.4981 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.002199/0.4443, allocations: 1.694 MB / 0.6572 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.4443, allocations: 13.56 kB / 0.6572 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.4445, allocations: 138.8 kB / 0.6574 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005797/0.445, allocations: 206.2 kB / 0.6576 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.4466, allocations: 1.032 MB / 0.6586 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003667/0.447, allocations: 128.2 kB / 0.6587 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.4471, allocations: 78.84 kB / 0.6588 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.4487, allocations: 1.001 MB / 0.6598 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.4488, allocations: 5.594 kB / 0.6598 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.4488, allocations: 39.73 kB / 0.6598 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.4489, allocations: 24.03 kB / 0.6598 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.4504, allocations: 0.6515 MB / 0.6605 GB, free: 10.9 MB / 0.4981 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.004503/0.4549, allocations: 4.772 MB / 0.6651 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.4563, allocations: 407.9 kB / 0.6655 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/0.4569, allocations: 225.9 kB / 0.6657 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006177/0.4575, allocations: 1.147 MB / 0.6668 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.4575, allocations: 37.25 kB / 0.6669 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.923e-06/0.4575, allocations: 0 / 0.6669 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002932/0.4605, allocations: 1.091 MB / 0.6679 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.4605, allocations: 55.41 kB / 0.668 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.4616, allocations: 0.9762 MB / 0.6689 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.4617, allocations: 36.05 kB / 0.669 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00034/0.462, allocations: 0.5883 MB / 0.6696 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/0.4621, allocations: 106.9 kB / 0.6697 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.4623, allocations: 110.9 kB / 0.6698 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.4623, allocations: 325.3 kB / 0.6701 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.4629, allocations: 204.1 kB / 0.6703 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/0.4636, allocations: 412.4 kB / 0.6707 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.4648, allocations: 0.608 MB / 0.6713 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4648, allocations: 6.531 kB / 0.6713 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001614/0.4664, allocations: 0.7632 MB / 0.672 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4665, allocations: 10.89 kB / 0.672 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.4665, allocations: 14.5 kB / 0.672 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/0.4671, allocations: 151.4 kB / 0.6722 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.4677, allocations: 152.3 kB / 0.6723 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007171/0.4685, allocations: 1.725 MB / 0.674 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000684/0.4692, allocations: 92.64 kB / 0.6741 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/0.4692, allocations: 30.66 kB / 0.6741 GB, free: 0.8125 MB / 0.4981 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.0003217/0.4696, allocations: 267.7 kB / 0.6744 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.4697, allocations: 111.7 kB / 0.6745 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.4716, allocations: 0.7298 MB / 0.6752 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.4716, allocations: 12.75 kB / 0.6752 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4716, allocations: 1.281 kB / 0.6752 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4716, allocations: 1.734 kB / 0.6752 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.4745, allocations: 1.638 MB / 0.6768 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.4745, allocations: 2.906 kB / 0.6768 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.475, allocations: 101.2 kB / 0.6769 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005811/0.4756, allocations: 151.3 kB / 0.6771 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.4756, allocations: 11.66 kB / 0.6771 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009728/0.4766, allocations: 1.706 MB / 0.6787 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.4766, allocations: 6.875 kB / 0.6787 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.4783, allocations: 0.7796 MB / 0.6795 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.4786, allocations: 246.7 kB / 0.6797 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.4787, allocations: 11.97 kB / 0.6797 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/0.4794, allocations: 45.94 kB / 0.6798 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/0.4795, allocations: 33.81 kB / 0.6798 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.4795, allocations: 25.22 kB / 0.6798 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008398/0.4804, allocations: 0.6589 MB / 0.6805 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4804, allocations: 0 / 0.6805 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001035/0.4814, allocations: 383.1 kB / 0.6809 GB, free: 12.75 MB / 0.5137 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.002679/0.4841, allocations: 1.656 MB / 0.6825 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.4858, allocations: 0.574 MB / 0.683 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4858, allocations: 5.344 kB / 0.683 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008544/0.4866, allocations: 292.7 kB / 0.6833 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.489, allocations: 0.52 MB / 0.6838 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.5005, allocations: 7.741 MB / 0.6914 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007621/0.5013, allocations: 1.102 MB / 0.6925 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008005/0.5021, allocations: 189.3 kB / 0.6926 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/0.5026, allocations: 414.7 kB / 0.693 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.5026, allocations: 4 kB / 0.693 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/0.6032, allocations: 29.25 MB / 0.7216 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.28, allocations: 15.5 kB / 0.7216 GB, free: 0.8984 MB / 0.5294 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)