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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 108 kB / 15.61 MB, free: 152 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.001271/0.001272, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7406/0.7406, allocations: 132.2 MB / 422.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 68.14 kB / 0.5018 GB, free: 8.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1782, allocations: 80.2 MB / 0.5801 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.3276/0.5059, allocations: 49.74 MB / 0.6287 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01712/0.5231, allocations: 12.66 MB / 0.641 GB, free: 20.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003782/0.5269, allocations: 82.09 kB / 0.6411 GB, free: 20.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.5291, allocations: 0.7545 MB / 0.6418 GB, free: 20.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004853/0.534, allocations: 1.822 MB / 0.6436 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.5373, allocations: 1.331 MB / 0.6449 GB, free: 18.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003595/0.5409, allocations: 3.251 MB / 0.6481 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.5424, allocations: 1.258 MB / 0.6493 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.5451, allocations: 1.302 MB / 0.6506 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.5464, allocations: 0.9184 MB / 0.6515 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.5465, allocations: 97.75 kB / 0.6516 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.5487, allocations: 1.069 MB / 0.6526 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.549, allocations: 285.1 kB / 0.6529 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006082/0.5496, allocations: 0.6828 MB / 0.6536 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.5523, allocations: 1.936 MB / 0.6555 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.5523, allocations: 1.375 kB / 0.6555 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5523, allocations: 0 / 0.6555 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.335e-05/0.5523, allocations: 0 / 0.6555 GB, free: 13.74 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.002611/0.5549, allocations: 1.708 MB / 0.6571 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.555, allocations: 10.69 kB / 0.6571 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00079/0.5558, allocations: 205.6 kB / 0.6573 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.5576, allocations: 1.028 MB / 0.6583 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.5579, allocations: 125.3 kB / 0.6585 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5581, allocations: 83.94 kB / 0.6585 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.5599, allocations: 0.9982 MB / 0.6595 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.5599, allocations: 6.469 kB / 0.6595 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.56, allocations: 36.94 kB / 0.6596 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.56, allocations: 25.97 kB / 0.6596 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.5616, allocations: 0.6547 MB / 0.6602 GB, free: 11.05 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.004991/0.5666, allocations: 4.773 MB / 0.6649 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.5682, allocations: 407.3 kB / 0.6653 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005793/0.5688, allocations: 225.1 kB / 0.6655 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/0.5695, allocations: 1.147 MB / 0.6666 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.5695, allocations: 41.31 kB / 0.6666 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 2.435e-06/0.5695, allocations: 0 / 0.6666 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.003028/0.5725, allocations: 1.1 MB / 0.6677 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.5726, allocations: 62.03 kB / 0.6678 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.5739, allocations: 0.9719 MB / 0.6687 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/0.574, allocations: 33.92 kB / 0.6688 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.5744, allocations: 0.5878 MB / 0.6693 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.5745, allocations: 106.4 kB / 0.6694 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.5747, allocations: 111.8 kB / 0.6695 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.5747, allocations: 324.1 kB / 0.6698 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/0.5753, allocations: 203.5 kB / 0.67 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/0.576, allocations: 414.6 kB / 0.6704 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.5772, allocations: 0.6033 MB / 0.671 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5772, allocations: 2.125 kB / 0.671 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001745/0.579, allocations: 0.7698 MB / 0.6718 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.579, allocations: 9.812 kB / 0.6718 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.579, allocations: 6.062 kB / 0.6718 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/0.5797, allocations: 169.5 kB / 0.672 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.5804, allocations: 151.2 kB / 0.6721 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007902/0.5812, allocations: 1.717 MB / 0.6738 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/0.582, allocations: 101.6 kB / 0.6739 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/0.5821, allocations: 29.8 kB / 0.6739 GB, free: 0.9492 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.0004472/0.5826, allocations: 264.2 kB / 0.6742 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.5827, allocations: 112.1 kB / 0.6743 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.5846, allocations: 0.7297 MB / 0.675 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.5846, allocations: 9.219 kB / 0.675 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5846, allocations: 1.312 kB / 0.675 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5846, allocations: 2.922 kB / 0.675 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.5877, allocations: 1.641 MB / 0.6766 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.5878, allocations: 1.375 kB / 0.6766 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.5882, allocations: 90.27 kB / 0.6767 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005569/0.5888, allocations: 159.4 kB / 0.6768 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.5889, allocations: 11.48 kB / 0.6768 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.5899, allocations: 1.705 MB / 0.6785 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/0.5899, allocations: 6.984 kB / 0.6785 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.5917, allocations: 0.7867 MB / 0.6793 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/0.5921, allocations: 246.9 kB / 0.6795 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.5922, allocations: 11.5 kB / 0.6795 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.5928, allocations: 45.98 kB / 0.6796 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.5929, allocations: 30.11 kB / 0.6796 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.593, allocations: 26.67 kB / 0.6796 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009089/0.5939, allocations: 0.6575 MB / 0.6803 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5939, allocations: 5.125 kB / 0.6803 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001209/0.5951, allocations: 380.7 kB / 0.6806 GB, free: 12.88 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.0008457/0.596, allocations: 407.6 kB / 0.681 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.5977, allocations: 0.597 MB / 0.6816 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5977, allocations: 0.75 kB / 0.6816 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007963/0.5985, allocations: 300.3 kB / 0.6819 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.6009, allocations: 0.5118 MB / 0.6824 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.6042, allocations: 1.837 MB / 0.6842 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/0.6049, allocations: 1.105 MB / 0.6853 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007619/0.6057, allocations: 192.5 kB / 0.6854 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.6059, allocations: 66.44 kB / 0.6855 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.6059, allocations: 0 / 0.6855 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.03633/0.6422, allocations: 20.67 MB / 0.7057 GB, free: 1.547 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (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 & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)