Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001958/0.001958, allocations: 193.8 kB / 16.25 MB, free: 6.641 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9798/0.9798, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 65.16 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1912, allocations: 80.93 MB / 0.5839 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5757/0.767, allocations: 239.7 MB / 0.818 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02484/0.7919, allocations: 15.84 MB / 0.8335 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.795, allocations: 75.5 kB / 0.8335 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003636/0.7987, allocations: 1.046 MB / 0.8346 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.8091, allocations: 3.59 MB / 0.8381 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005384/0.8145, allocations: 1.642 MB / 0.8397 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007745/0.8223, allocations: 5.263 MB / 0.8448 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003826/0.8262, allocations: 1.62 MB / 0.8464 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006972/0.8331, allocations: 2.604 MB / 0.8489 GB, free: 13.7 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004526/0.8377, allocations: 1.809 MB / 0.8507 GB, free: 11.89 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008021/0.8385, allocations: 172 kB / 0.8509 GB, free: 11.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005748/0.8443, allocations: 2.841 MB / 0.8536 GB, free: 8.879 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.8455, allocations: 0.7752 MB / 0.8544 GB, free: 8.102 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002159/0.8477, allocations: 1.155 MB / 0.8555 GB, free: 6.941 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006652/0.8544, allocations: 3.715 MB / 0.8592 GB, free: 3.215 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.8544, allocations: 4 kB / 0.8592 GB, free: 3.211 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8544, allocations: 0 / 0.8592 GB, free: 3.211 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.991e-05/0.8545, allocations: 0 / 0.8592 GB, free: 3.211 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004866/0.8594, allocations: 2.495 MB / 0.8616 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.8594, allocations: 12.03 kB / 0.8616 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.8626, allocations: 0.5004 MB / 0.8621 GB, free: 152 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2725/1.135, allocations: 1.268 MB / 0.8633 GB, free: 223.6 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/1.135, allocations: 174.4 kB / 0.8635 GB, free: 223.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/1.135, allocations: 153.9 kB / 0.8636 GB, free: 223.6 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/1.138, allocations: 1.739 MB / 0.8653 GB, free: 223.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/1.138, allocations: 3.594 kB / 0.8653 GB, free: 223.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.138, allocations: 68.95 kB / 0.8654 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/1.138, allocations: 61.22 kB / 0.8655 GB, free: 223.1 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/1.14, allocations: 1.37 MB / 0.8668 GB, free: 222.7 MB / 0.67 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.00734/1.148, allocations: 8.17 MB / 0.8748 GB, free: 216.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/1.149, allocations: 0.9014 MB / 0.8757 GB, free: 216.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007443/1.15, allocations: 0.535 MB / 0.8762 GB, free: 216.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005551/1.15, allocations: 318.2 kB / 0.8765 GB, free: 215.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/1.15, allocations: 57.33 kB / 0.8765 GB, free: 215.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 2.905e-06/1.15, allocations: 0 / 0.8765 GB, free: 215.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.006461/1.157, allocations: 3.102 MB / 0.8796 GB, free: 214.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/1.157, allocations: 67.31 kB / 0.8796 GB, free: 214.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/1.158, allocations: 1.264 MB / 0.8809 GB, free: 213.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-05/1.158, allocations: 47.17 kB / 0.8809 GB, free: 213.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00042/1.159, allocations: 0.8121 MB / 0.8817 GB, free: 213.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/1.159, allocations: 364.5 kB / 0.8821 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/1.159, allocations: 223.2 kB / 0.8823 GB, free: 212.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.412e-05/1.159, allocations: 352.1 kB / 0.8826 GB, free: 212.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007464/1.16, allocations: 448.5 kB / 0.883 GB, free: 212.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008577/1.161, allocations: 0.8268 MB / 0.8838 GB, free: 211.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/1.163, allocations: 1.249 MB / 0.8851 GB, free: 210.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.163, allocations: 3.062 kB / 0.8851 GB, free: 210.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002269/1.165, allocations: 1.411 MB / 0.8864 GB, free: 210.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.165, allocations: 16.11 kB / 0.8865 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.165, allocations: 9.094 kB / 0.8865 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/1.165, allocations: 15.03 kB / 0.8865 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.166, allocations: 272.6 kB / 0.8867 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/1.166, allocations: 20.69 kB / 0.8868 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/1.168, allocations: 166 kB / 0.8869 GB, free: 210.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-05/1.168, allocations: 55.53 kB / 0.887 GB, free: 210.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001172/1.169, allocations: 0.7654 MB / 0.8877 GB, free: 209.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008519/1.17, allocations: 0.8213 MB / 0.8885 GB, free: 209.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001559/1.171, allocations: 1.238 MB / 0.8897 GB, free: 208.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/1.171, allocations: 3.094 kB / 0.8897 GB, free: 208.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002234/1.174, allocations: 1.378 MB / 0.8911 GB, free: 208 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.174, allocations: 12.62 kB / 0.8911 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.174, allocations: 12.28 kB / 0.8911 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/1.174, allocations: 17.62 kB / 0.8911 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.175, allocations: 278.2 kB / 0.8914 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/1.175, allocations: 18 kB / 0.8914 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/1.176, allocations: 164.2 kB / 0.8916 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.194e-05/1.177, allocations: 50.31 kB / 0.8916 GB, free: 207.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000317/1.177, allocations: 267.5 kB / 0.8919 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/1.177, allocations: 167.5 kB / 0.892 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/1.179, allocations: 1.154 MB / 0.8931 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/1.179, allocations: 12.38 kB / 0.8932 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.179, allocations: 0 / 0.8932 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/1.181, allocations: 1.078 MB / 0.8942 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/1.185, allocations: 2.771 MB / 0.8969 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.185, allocations: 5.422 kB / 0.8969 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.186, allocations: 249.4 kB / 0.8972 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/1.186, allocations: 5.969 kB / 0.8972 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.923e-05/1.187, allocations: 31.91 kB / 0.8972 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/1.187, allocations: 13.55 kB / 0.8972 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.187, allocations: 1.438 kB / 0.8972 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/1.19, allocations: 1.814 MB / 0.899 GB, free: 204.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009329/1.191, allocations: 337.3 kB / 0.8993 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.191, allocations: 24.56 kB / 0.8993 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.193, allocations: 137.7 kB / 0.8995 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/1.193, allocations: 75.42 kB / 0.8995 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.726e-05/1.193, allocations: 36.48 kB / 0.8996 GB, free: 204.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001698/1.195, allocations: 0.8459 MB / 0.9004 GB, free: 203.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/1.195, allocations: 0 / 0.9004 GB, free: 203.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002626/1.197, allocations: 0.759 MB / 0.9011 GB, free: 203.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006423/1.198, allocations: 275.3 kB / 0.9014 GB, free: 203.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004009/1.202, allocations: 1.996 MB / 0.9033 GB, free: 203.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/1.202, allocations: 1.344 kB / 0.9033 GB, free: 203.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008801/1.203, allocations: 0.5179 MB / 0.9039 GB, free: 202.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/1.207, allocations: 0.9304 MB / 0.9048 GB, free: 202.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005097/1.212, allocations: 4.149 MB / 0.9088 GB, free: 200.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/1.213, allocations: 1.447 MB / 0.9102 GB, free: 199.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00207/1.215, allocations: 0.5563 MB / 0.9108 GB, free: 199.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/1.215, allocations: 126.6 kB / 0.9109 GB, free: 199.2 MB / 0.67 GB Notification: Performance of SimCode: time 6.42e-07/1.215, allocations: 0 / 0.9109 GB, free: 199.2 MB / 0.67 GB Notification: Performance of Templates: time 0.05652/1.272, allocations: 31 MB / 0.9412 GB, free: 186.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)